-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
50 lines (50 loc) · 1.03 KB
/
docker-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
39
40
41
42
43
44
45
46
47
48
49
50
version: "3.4"
services:
redis:
restart: always
image: redis:3.2
db:
restart: always
image: mariadb:10.3
volumes:
- db-data:/var/lib/mysql
environment:
MYSQL_ROOT_PASSWORD: pass
MYSQL_DATABASE: db
MYSQL_USER: admin
MYSQL_PASSWORD: pass
web:
restart: always
labels:
- "neos"
volumes:
- /data/www-provisioned/Web/_Resources
image: ghcr.io/psmb/psmbdistr:master
hostname: 'psmbru'
networks:
- default
- main
environment:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- PSMB_SMTP_PASS
- GA_SECRET
- GA_DEVKEY
- PSMB_CAPTCHA_SECRET
labels:
- "traefik.enable=true"
- "traefik.port=80"
- "traefik.default.protocol=http"
- "traefik.docker.network=main"
- "traefik.frontend.rule=Host:psmb.ru,www.psmb.ru,en.psmb.ru,festival.psmb.ru,server.psmb.ru"
ports:
- '80'
depends_on:
- db
- redis
volumes:
db-data:
networks:
main:
external:
name: main