-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathdocker-compose.yaml
115 lines (106 loc) · 2.39 KB
/
docker-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
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
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
version: '3.8'
services:
kitsu:
container_name: cgwire-kitsu
image: ghcr.io/emberlightvfx/kitsu-for-docker:latest
depends_on:
- zou-app
- zou-event
- zou-jobs
ports:
- '8800:80'
env_file:
- .env
restart: unless-stopped
networks:
- cgwire
zou-app:
container_name: cgwire-zou-app
image: ghcr.io/emberlightvfx/zou-for-docker:latest
depends_on:
- db
volumes:
- 'previews:/opt/zou/previews'
- 'tmp:/tmp/zou'
env_file:
- .env
restart: unless-stopped
networks:
- cgwire
command: >
sh -c "/init_zou.sh && /upgrade_zou.sh && gunicorn --error-logfile - --access-logfile - -w 3 -k gevent -b :5000 zou.app:app"
zou-event:
container_name: cgwire-zou-event
image: ghcr.io/emberlightvfx/zou-for-docker:latest
depends_on:
- redis
volumes:
- 'previews:/opt/zou/previews'
- 'tmp:/tmp/zou'
env_file:
- .env
restart: unless-stopped
networks:
- cgwire
command: >
sh -c "gunicorn --error-logfile - --access-logfile - -w 1 -k geventwebsocket.gunicorn.workers.GeventWebSocketWorker -b :5001 zou.event_stream:app"
zou-jobs:
container_name: cgwire-zou-jobs
image: ghcr.io/emberlightvfx/zou-for-docker:latest
volumes:
- 'previews:/opt/zou/previews'
- 'tmp:/tmp/zou'
env_file:
- .env
restart: unless-stopped
networks:
- cgwire
command: >
sh -c "rq worker -c zou.job_settings"
meilisearch:
container_name: cgwire-meilisearch
image: getmeili/meilisearch:v1.3.1
ports:
- "7700:7700"
volumes:
- 'meili_data:/meili_data'
env_file:
- .env
restart: unless-stopped
networks:
- cgwire
db:
container_name: cgwire-db-12
image: postgres:12-alpine
volumes:
- 'db:/var/lib/postgresql/data'
- ./db/pg_ctl.conf:/etc/postgresql/12/main/pg_ctl.conf:ro
env_file:
- .env
restart: unless-stopped
networks:
- cgwire
redis:
container_name: cgwire-redis
image: redis:alpine
volumes:
- 'redis:/data'
restart: unless-stopped
networks:
- cgwire
volumes:
db:
name: zou-db-12
redis:
name: cgwire-redis
meili_data:
name: cgwire-meili_data
previews:
name: cgwire-previews
tmp:
name: cgwire-tmp
kitsu:
name: cgwire-kitsu
networks:
cgwire:
name: cgwire