-
Notifications
You must be signed in to change notification settings - Fork 16
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
40 lines (37 loc) · 985 Bytes
/
docker-compose.yml
File metadata and controls
40 lines (37 loc) · 985 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
version: '3.5'
services:
discordBot:
image: rtechsupport/techsupport-bot:prod
build: .
container_name: discordBot
environment:
- DEBUG=${DEBUG}
- TZ=UTC
restart: unless-stopped
stop_signal: SIGINT
volumes:
- ./config.yml:/var/TechSupportBot/techsupport_bot/config.yml
networks:
- all
depends_on:
- postgres
postgres:
image: postgres:15.3-alpine
container_name: postgres
restart: unless-stopped
ports:
- "127.0.0.1:5432:5432"
volumes:
- ../DBs/postgres:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=${POSTGRES_DB_USER}
- POSTGRES_PASSWORD=${POSTGRES_DB_PASSWORD}
- POSTGRES_DB=${POSTGRES_DB_NAME}
networks:
- all
networks:
all:
driver: bridge
ipam:
config:
- subnet: 10.167.53.0/24