forked from costasiella/costasiella
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
59 lines (58 loc) · 1.58 KB
/
docker-compose.yml
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
---
version: '3'
services:
backend:
image: simplycode/costasiella_backend:2023.05.01
user: www-data:www-data
restart: always
env_file:
- costasiella.env
volumes:
- /opt/docker/mounts/costasiella/sockets:/opt/sockets
- /opt/docker/mounts/costasiella/media:/opt/media
- /opt/docker/mounts/costasiella/media_protected:/opt/media_protected
- /opt/docker/mounts/costasiella/static:/opt/static
- /opt/docker/mounts/costasiella/logs:/opt/app/logs
- /opt/docker/mounts/costasiella/settings:/opt/app/app/settings
depends_on:
- redis
- vault
redis:
restart: always
image: redis:7.2.1-alpine3.18
vault:
restart: always
image: vault:1.13.3
command:
- "server"
volumes:
- /opt/docker/mounts/costasiella/vault_config:/vault/config
ports:
- "127.0.0.1:8200:8200"
celery_worker:
image: simplycode/costasiella_celery_worker:2023.05.01
user: www-data:www-data
restart: always
env_file:
- costasiella.env
volumes:
- /opt/docker/mounts/costasiella/logs:/opt/app/logs
- /opt/docker/mounts/costasiella/settings:/opt/app/app/settings
depends_on:
- redis
- vault
- backend
celery_beat:
image: simplycode/costasiella_celery_beat:2023.05.01
user: www-data:www-data
restart: always
env_file:
- costasiella.env
volumes:
- /opt/docker/mounts/costasiella/logs:/opt/app/logs
- /opt/docker/mounts/costasiella/settings:/opt/app/app/settings
depends_on:
- redis
- vault
- celery_worker
- backend