-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
49 lines (47 loc) · 877 Bytes
/
docker-compose.yml
File metadata and controls
49 lines (47 loc) · 877 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
44
45
46
47
48
49
version: "3.9"
services:
postgres:
image: postgres:16
volumes:
- salty-pgdata:/var/lib/postgresql/data
restart: always
env_file:
- ./.env
ports:
- "$POSTGRES_PORT_EXTERNAL:5432"
bot:
build:
context: applications/bot
args:
USER_ID: $UID
GROUP_ID: $GID
volumes:
- $BOT_LOG_PATH:/opt/logs
restart: always
depends_on:
- postgres
env_file:
- ./.env
environment:
PRODUCTION: 1
LOG_PATH: "/opt/logs/"
web:
build:
context: applications/web
args:
USER_ID: $UID
GROUP_ID: $GID
volumes:
- $WEB_LOG_PATH:/opt/logs
ports:
- "5000:5000"
restart: always
env_file:
- ./.env
environment:
PRODUCTION: 1
LOG_PATH: "/opt/logs/"
depends_on:
- postgres
volumes:
salty-pgdata: