-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
41 lines (37 loc) · 910 Bytes
/
docker-compose.yml
File metadata and controls
41 lines (37 loc) · 910 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
version: '3.5'
services:
postgres:
container_name: mafiabot_postgres
image: postgres:14-alpine@sha256:28407a9961e76f2d285dc6991e8e48893503cc3836a4755bbc2d40bcc272a441
env_file:
- .env
environment:
POSTGRES_USER: ${PgDatabaseUser}
POSTGRES_PASSWORD: ${PgDatabasePassword}
PGDATA: /data/postgres
volumes:
- postgres:/data/postgres
restart: unless-stopped
stats_bot:
container_name: mafiabot_statsbot
image: mafia-stats-bot:latest
user: root
env_file:
- .env
volumes:
- ${PWD}/Logs/StatsBot:/app/Logs
depends_on:
- postgres
user_bot:
container_name: mafiabot_userbot
image: mafia-user-bot:latest
user: root
env_file:
- .env
volumes:
- ${PWD}/WTelegram.session:/app/WTelegram.session
- ${PWD}/Logs/UserBot:/app/Logs
depends_on:
- postgres
volumes:
postgres: