-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
81 lines (73 loc) · 1.74 KB
/
docker-compose.yml
File metadata and controls
81 lines (73 loc) · 1.74 KB
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
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
name: chatsift-v3
services:
# caddy:
# build:
# context: ./build/caddy
# dockerfile: ./Dockerfile
# env_file:
# - ./.env.private
# ports:
# - '80:80'
# - '443:443'
postgres:
image: postgres:17-alpine
environment:
POSTGRES_USER: 'chatsift'
POSTGRES_PASSWORD: 'admin'
POSTGRES_DB: 'chatsift'
volumes:
- postgres-data:/var/lib/postgresql/data
restart: unless-stopped
env_file:
- ./.env.public
- ./.env.private
ports:
- 127.0.0.1:${LOCAL_DATABASE_PORT}:5432
healthcheck:
test: ['CMD-SHELL', 'pg_isready -U chatsift']
interval: 10s
timeout: 5s
dozzle:
image: amir20/dozzle:latest
volumes:
- /var/run/docker.sock:/var/run/docker.sock
restart: unless-stopped
environment:
DOZZLE_ENABLE_ACTIONS: true
ports:
- 127.0.0.1:${LOCAL_DOZZLE_PORT}:8080
redis:
image: redis:6-alpine
restart: unless-stopped
healthcheck:
test: ['CMD-SHELL', 'redis-cli ping']
interval: 10s
timeout: 5s
api:
image: chatsift/chatsift-next:api
build:
context: ./
dockerfile: ./Dockerfile
restart: unless-stopped
env_file:
- ./.env.public
- ./.env.private
command: ['node', '--enable-source-maps', './services/api/dist/bin.js']
ports:
- 127.0.0.1:${API_PORT}:${API_PORT}
ama-bot:
image: chatsift/chatsift-next:ama
build:
context: ./
dockerfile: ./Dockerfile
restart: unless-stopped
env_file:
- ./.env.public
- ./.env.private
command: ['node', '--enable-source-maps', './services/ama-bot/dist/bin.js']
volumes:
postgres-data:
name: 'chatsift-v3-postgres-data'
networks:
default:
name: chatsift-v3