-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
45 lines (45 loc) · 991 Bytes
/
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
version: "3.4"
services:
redis:
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
volumes:
- /data/www-provisioned/Web/_Resources
image: ghcr.io/psmb/ermdistr:master
networks:
- default
- main
environment:
AWS_ACCESS_KEY_ID: '${AWS_ACCESS_KEY_ID}'
AWS_SECRET_ACCESS_KEY: '${AWS_SECRET_ACCESS_KEY}'
IMPORT_GITHUB_PUB_KEYS: 'dimaip,zaveryukha'
labels:
- "neos"
- "traefik.enable=true"
- "traefik.port=80"
- "traefik.default.protocol=http"
- "traefik.docker.network=main"
- "traefik.frontend.rule=Host:ermolaev.co,www.ermolaev.co"
ports:
- '80'
- '1124:22'
depends_on:
- db
- redis
volumes:
db-data:
networks:
main:
external:
name: main