-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcompose.yaml
39 lines (39 loc) · 1.16 KB
/
compose.yaml
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
version: '3.8'
services:
app:
image: itanex/stream-assist-bot:1.3.0
build:
context: . # Context should only operate on a File System context based on the root directory
target: dev
working_dir: /app
depends_on:
postgres:
condition: service_healthy
ports:
- 8080:8080 # WebSocker Server Port
- 8070:8070 # Overlay Server Port
environment:
POSTGRES_HOST: postgres
POSTGRES_PORT: 5432
volumes:
- D:/DataWorkspaces/stream-assist-bot/logs:/app/logs
- D:/DataWorkspaces/stream-assist-bot/cache/:/app/local-cache/
postgres:
image: postgres:latest
restart: always
user: postgres
volumes:
- stream-assist-bot-database:/var/lib/postgresql/data
# - D:\\DataWorkspaces\\stream-assist-bot\\database:/var/lib/postgresql/data
environment:
POSTGRES_DB: stream-assist-bot
POSTGRES_PASSWORD: Vsnyi&FN^oLXUVqdjm9v4
ports:
- 6432:5432 # Expose the default postgres port
healthcheck:
test: [ "CMD", "pg_isready" ]
interval: 10s
timeout: 5s
retries: 5
volumes:
stream-assist-bot-database: