-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.yml
75 lines (71 loc) · 1.81 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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
version: '3.5'
services:
nginx:
build:
context: .
dockerfile: nginx/Dockerfile
networks:
- default
- nginx-bridge
volumes:
- "staticfiles:/usr/share/nginx/html/static:ro"
environment:
- VIRTUAL_HOST=${VIRTUAL_HOST:-suisiann-kautui.ithuan.tw}
- LETSENCRYPT_HOST=${VIRTUAL_HOST:-suisiann-kautui.ithuan.tw}
restart: always
gunicorn:
build: .
volumes:
- "staticfiles:/staticfiles:rw"
networks:
default:
aliases:
- suisiann-kautui-autuan
restart: always
environment:
AWS_S3_ENDPOINT_URL: ${AWS_S3_ENDPOINT_URL}
AWS_ACCESS_KEY_ID: ${AWS_ACCESS_KEY_ID}
AWS_SECRET_ACCESS_KEY: ${AWS_SECRET_ACCESS_KEY}
DJANGO_SETTINGS_MODULE: SuiSiannAdmin.settings-tsiunnsuann
HOKBU_DOMAIN_NAME: ${VIRTUAL_HOST:-suisiann-kautui.ithuan.tw}
SECRET_KEY: ${SECRET_KEY}
SENTRY_DSN: ${SENTRY_DSN}
postgres:
image: postgres:15
labels:
- backup.postgres=true
environment:
POSTGRES_PASSWORD: ithuan
volumes:
- "postgres_database:/var/lib/postgresql/data"
restart: always
# ling_kaldi_format:
# image: kaldi-liau_ling_kaldi_format
# volumes:
# - './liokim/:/wav/:ro'
# - kaldis5:/kaldis5
# restart: always
# it_poolmj:
# image: kaldi-liau_it_poolmj
# volumes:
# - kaldis5:/kaldis5
# restart: always
# ji_fst_decoding_koh_rescoring:
# image: kaldi-liau_ji_fst_decoding_koh_rescoring
# volumes:
# - './liokim/:/wav/:ro'
# - kaldis5:/kaldis5
# restart: always
# sam_sikan:
# image: kaldi-liau_sam_sikan
# volumes:
# - kaldis5:/kaldis5
# restart: always
volumes:
postgres_database:
kaldis5:
staticfiles:
networks:
nginx-bridge:
external: true