-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-stack.yml
51 lines (47 loc) · 1.25 KB
/
docker-stack.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
version: '3'
services:
nginx:
image: registry.edge.incbtr.com/template/nginx
networks:
- traefik-public
- default
deploy:
labels:
traefik.tags: traefik-public
traefik.redirectorservice.frontend.redirect.entryPoint: https
traefik.webservice.frontend.entryPoints: https
traefik.redirectorservice.frontend.entryPoints: http
traefik.docker.network: traefik-public
traefik.enable: 'true'
traefik.port: '80'
traefik.frontend.rule: Host:template.hatch.edge.incbtr.com,template.hatch,www.template.hatch
php:
image: registry.edge.incbtr.com/template/php
networks:
- default
environment:
ENVIRONMENT: production
DB_DRIVER: mysql
DB_SERVER: database
DB_USER: project
DB_PASSWORD: project
DB_DATABASE: project
DB_TABLE_PREFIX: craft_
SECURITY_KEY: asdfasdfasdfasdfasdf
database:
image: mariadb:10.3
volumes:
- db-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: secret
MYSQL_DATABASE: project
MYSQL_USER: project
MYSQL_PASSWORD: project
networks:
- default
volumes:
db-data:
networks:
traefik-public:
external: true
default: