-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
47 lines (47 loc) · 1.01 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
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"
- "traefik.enable=true"
- "traefik.port=80"
- "traefik.default.protocol=http"
- "traefik.docker.network=main"
- "traefik.frontend.rule=Host:kateheo.ru,www.kateheo.ru"
volumes:
- /data/www-provisioned/Web/_Resources
image: ghcr.io/psmb/kateheodistr:master
hostname: 'kateheo'
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'
ports:
- '80'
- '1123:22'
depends_on:
- db
- redis
volumes:
db-data:
networks:
main:
external:
name: main