-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
43 lines (39 loc) · 897 Bytes
/
docker-compose.yml
File metadata and controls
43 lines (39 loc) · 897 Bytes
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
services:
tns-catalog-sql:
build: ./sql/
env_file:
- secret.env # TNS_API_KEY, TNS_BOT_ID, TNS_BOT_NAME
environment:
- POSTGRES_USER=catalog
- POSTGRES_PASSWORD=catalog
volumes:
- tns-catalog-sql-data:/var/run/postgresql
networks:
- app
restart: always
tns-upgrade-data:
build: ./sql/
command: /docker-entrypoint-upgrade.sh
env_file:
- secret.env # TNS_API_KEY, TNS_BOT_ID, TNS_BOT_NAME
networks:
- app
restart: always
tns-catalog-app:
build: ./app/
networks:
- app
- proxy
environment:
VIRTUAL_HOST: tns.snad.space
HTTPS_METHOD: noredirect
DYNDNS_HOST: tns.snad.space
LETSENCRYPT_HOST: tns.snad.space
LETSENCRYPT_EMAIL: letsencrypt@snad.space
restart: always
volumes:
tns-catalog-sql-data:
networks:
app:
proxy:
external: true