forked from IGNF/cartes.gouv.fr-documentation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
28 lines (27 loc) · 958 Bytes
/
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
networks:
web_dev:
external: true
services:
site:
image: ignf/cartes.gouv.fr-documentation
build:
context: .
dockerfile: ".docker/Dockerfile"
args:
- HTTP_PROXY
- HTTPS_PROXY
# ports:
# - 8082:8082
environment:
- HTTP_PROXY=${HTTP_PROXY}
- HTTPS_PROXY=${HTTPS_PROXY}
- http_proxy=${HTTP_PROXY}
- https_proxy=${HTTPS_PROXY}
restart: unless-stopped
networks:
- web_dev
labels:
- "traefik.enable=true"
- "traefik.http.routers.cartesgouvfr-documentation.rule=Host(`cartesgouvfr-documentation.docker.localhost`) && PathPrefix(`/documentation`)"
- "traefik.http.routers.cartesgouvfr-documentation.entrypoints=websecure"
- "traefik.http.services.cartesgouvfr-documentation.loadbalancer.server.port=8082"