-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.debug.yml
More file actions
36 lines (33 loc) · 1.02 KB
/
Copy pathdocker-compose.debug.yml
File metadata and controls
36 lines (33 loc) · 1.02 KB
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
version: '3'
services:
web:
build: .
restart: unless-stopped
ports:
- "80:80"
networks:
- evocorpchecker-internal
labels:
- "traefik.enable=true"
- "traefik.docker.network=shared"
- "traefik.http.services.cc.loadbalancer.server.port=80"
- "traefik.http.routers.cc.rule=Host(`cc.ca-corp.org`)"
- "traefik.http.routers.cc.entrypoints=web"
- "traefik.http.routers.cc-secure.rule=Host(`cc.ca-corp.org`)"
- "traefik.http.routers.cc-secure.entrypoints=websecure"
- "traefik.http.routers.cc-secure.tls=true"
- "traefik.http.routers.cc-secure.tls.certresolver=primary"
db:
image: mariadb:10.5
restart: unless-stopped
environment:
MYSQL_ROOT_PASSWORD: password # change this with a secure password
MYSQL_DATABASE: evecorpchecker
MYSQL_USER: evecorpchecker
MYSQL_PASSWORD: password # change this with a secure password
networks:
- evocorpchecker-internal
networks:
evocorpchecker-internal:
volumes:
db_data: