-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-release.yaml
54 lines (48 loc) · 1.19 KB
/
docker-compose-release.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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
version: "3.8"
volumes:
data-request: {}
data-complete: {}
redis: {}
x-shared-environment: &shared-environment
environment:
CONFIG.REQUEST_STORAGE_PATH: /data/request
CONFIG.COMPLETE_STORAGE_PATH: /data/complete
CONFIG.REDIS_URL: redis://redis
CONFIG.BIND_ADDRESS: 0.0.0.0:3030
volumes:
- data-request:/data/request
- data-complete:/data/complete
services:
redis:
image: redis:latest
restart: always
environment:
- ALLOW_EMPTY_PASSWORD=true
volumes:
- redis:/data
bot:
depends_on: [ redis ]
image: ghcr.io/plasmoapp/jigsaw-bot-bot:main
restart: always
env_file: [ .env ]
<<: *shared-environment
generator:
depends_on: [ redis ]
image: ghcr.io/plasmoapp/jigsaw-bot-generator:main
restart: always
env_file: [ .env ]
<<: *shared-environment
volumes:
- data-request:/data/request
- data-complete:/data/complete
backend:
depends_on: [ redis ]
image: ghcr.io/plasmoapp/jigsaw-bot-backend:main
restart: always
env_file: [ .env ]
<<: *shared-environment
volumes:
- data-request:/data/request
- data-complete:/data/complete
ports:
- "3030:3030"