-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yaml.prod
51 lines (47 loc) · 1.14 KB
/
docker-compose.yaml.prod
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
version: '2.1'
services:
database:
image: mariadb:10.3
restart: unless-stopped
- MARIADB_ROOT_PASSWORD=...
- MARIADB_USER=adminchouettos
- MARIADB_PASSWORD=...
- MARIADB_DATABASE=adminchouettos
volumes:
- ./data/:/var/lib/mysql
networks:
metabase_shared:
default:
cron:
build: ./cron/
depends_on:
- symfony
symfony:
build: .
restart: unless-stopped
environment:
- SYMFONY_DATABASE_HOST=database
- SYMFONY_DATABASE_PORT_NUMBER=3306
- SYMFONY_DATABASE_NAME=adminchouettos
- SYMFONY_DATABASE_USER=adminchouettos
- SYMFONY_DATABASE_PASSWORD=...
links:
- database:database
networks:
default:
inverseproxy_shared:
labels:
traefik.docker.network: "inverseproxy_shared"
traefik.enable: "true"
traefik.frontend.passHostHeader: "true"
traefik.port: "8000"
traefik.www.frontend.rule: "Host:adminchouettos.lachouettecoop.fr"
networks:
default:
internal: true
driver_opts:
encrypted: 1
metabase_shared:
external: true
inverseproxy_shared:
external: true