-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.yml
53 lines (53 loc) · 1.17 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
51
52
53
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
volumes:
- /data/www-provisioned/Web/_Resources
- /mnt/vol2/docker/sites/kabinet/www/moodledata/repository/ltso/accred:/data/www-provisioned/Web/docs
- /home/umo/umo:/data/www-provisioned/Web/umo
image: ghcr.io/psmb/sfidistr:master
hostname: 'sfiru'
networks:
- default
- main
environment:
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- SFI_PM_USER
- SFI_PM_PASSWORD
- GA_SECRET
- GA_DEVKEY
- SFI_API_AUTH
- IMPORT_GITHUB_PUB_KEYS
labels:
- "neos"
- "traefik.enable=true"
- "traefik.port=80"
- "traefik.default.protocol=http"
- "traefik.docker.network=main"
- "traefik.frontend.rule=Host:sfi.ru,www.sfi.ru"
ports:
- '80'
depends_on:
- db
- redis
volumes:
db-data:
networks:
main:
external:
name: main