-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yml
62 lines (50 loc) · 948 Bytes
/
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
version: '3.1'
networks:
resys:
driver: bridge
services:
postgres:
image: postgres
environment:
- POSTGRES_PASSWORD=resys
volumes:
- postgres:/var/lib/postgresql/data
networks:
- resys
pgadmin:
image: dpage/pgadmin4:latest
environment:
- PGADMIN_DEFAULT_EMAIL=test@test.org
- PGADMIN_DEFAULT_PASSWORD=password
ports:
- "8001:80"
networks:
- resys
db:
image: resys:db_v0.1
environment:
- DB_NAME=resys
- DB_ADDRESS=postgres
- DB_PORT=5432
- DB_USER=postgres
- DB_PASSWORD=resys
networks:
- resys
ml:
image: resys:ml_v0.1
networks:
- resys
tg:
image: resys:tg_v0.1
ports:
- "8000:8000"
environment:
- BOT_TOKEN=YOUR_TOKEN_HERE
- RECSYS_URL=ml
- RECSYS_PORT=8000
- DB_URL=db
- DB_PORT=8000
networks:
- resys
volumes:
postgres: