-
Notifications
You must be signed in to change notification settings - Fork 0
/
compose.yml
38 lines (37 loc) · 1.18 KB
/
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
networks:
web_dev:
external: true
services:
app_dev:
image: ignf/cartes.gouv.fr:dev
build:
context: .
dockerfile: .docker/Dockerfile
target: dev
args:
- HTTP_PROXY
- HTTPS_PROXY
env_file:
- .env.local
environment:
- HTTP_PROXY=${HTTP_PROXY}
- HTTPS_PROXY=${HTTPS_PROXY}
- http_proxy=${HTTP_PROXY}
- https_proxy=${HTTPS_PROXY}
- XDEBUG_MODE=debug
- XDEBUG_CONFIG=client_host=host.docker.internal client_port=9003
working_dir: /opt/cartesgouvfr-site
volumes:
- .:/opt/cartesgouvfr-site
extra_hosts:
- host.docker.internal:host-gateway
ports:
- "9092:8000"
networks:
- web_dev
restart: unless-stopped
labels:
- "traefik.enable=true"
- "traefik.http.routers.cartesgouvfr.rule=Host(`cartesgouvfr-dev.docker.localhost`)"
- "traefik.http.routers.cartesgouvfr.entrypoints=websecure"
- "traefik.http.services.cartesgouvfr.loadbalancer.server.port=8000"