-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yml
55 lines (51 loc) · 1.69 KB
/
docker-compose.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: '3'
services:
geodata-extractor-fe-dev:
# image: registry.ecosystem-urbanage.eu/geodata-extractor-fe:main
build:
context: .
dockerfile: Dockerfile-dev
args:
BASE_HREF: /
ports:
- '18089:80'
volumes:
- /home/urbng/repos/geodataextractor_frontend/src/assets/config.json:/usr/share/nginx/html/assets/config.json
##- /home/urbng/repos/geodataextractor_frontend/nginx.conf:/etc/nginx/conf.d/default.conf
networks:
- geodata-extractor-network
- web
labels:
- traefik.http.routers.geodata-extractor-ui.rule=Host(`geodata-extractor-ui.${BASE_URL}`)
- traefik.http.routers.geodata-extractor-ui.tls=true
- traefik.http.routers.geodata-extractor-ui.tls.certresolver=lets-encrypt
- traefik.port=18089
profiles:
- dev
geodata-extractor-fe-prod:
# image: registry.ecosystem-urbanage.eu/geodata-extractor-fe:main
build:
context: .
dockerfile: Dockerfile-prod
args:
BASE_HREF: /
ports:
- '18089:80'
volumes:
- /home/urbng/repos/geodataextractor_frontend/src/assets/config.json:/usr/share/nginx/html/assets/config.json
##- /home/urbng/repos/geodataextractor_frontend/nginx.conf:/etc/nginx/conf.d/default.conf
networks:
- geodata-extractor-network
- web
labels:
- traefik.http.routers.geodata-extractor-ui.rule=Host(`geodata-extractor-ui.${BASE_URL}`)
- traefik.http.routers.geodata-extractor-ui.tls=true
- traefik.http.routers.geodata-extractor-ui.tls.certresolver=lets-encrypt
- traefik.port=18089
profiles:
- prod
networks:
geodata-extractor-network:
driver: bridge
web:
external: true