-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
107 lines (101 loc) · 2.53 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
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
version: '3'
services:
nero:
build: .
container_name: nero
depends_on:
- db
- redis
environment:
- DEBUG
- SECRET_KEY
- ALLOWED_HOSTS
- CORS_ORIGIN_REGEX_WHITELIST
- CSRF_TRUSTED_ORIGINS
- DB_ENGINE
- DB_HOST
- DB_NAME
- DB_USER
- DB_PASSWORD
- DB_PORT
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_STORAGE_BUCKET_NAME
- AWS_S3_REGION_NAME
- KEYCLOAK_SERVER_URL
- KEYCLOAK_CLIENT_ID
- KEYCLOAK_CLIENT_SECRET
- KEYCLOAK_REALM
- CELERY_BROKER_URL
- AWS_SES_ACCESS_KEY_ID
- AWS_SES_SECRET_ACCESS_KEY
- MAIL_SERVER_URL
- MAIL_SENDER_EMAIL
- TENANT_DEFAULT_DOMAIN_SUFFIX
- TENANT_DEFAULT_DOMAIN_PREFIX
- WEBAPP_CUSTOMER_PASSWORD_RESET_CONFIRM_URL
- WEBAPP_ADMIN_PASSWORD_RESET_CONFIRM_URL
- WEBAPP_CUSTOMER_EMAIL_CHANGE_CONFIRM_URL
- WEBAPP_ADMIN_EMAIL_CHANGE_CONFIRM_URL
- WEBAPP_VERIFY_EMAIL_URL=/verify-email
- GOOGLE_RECAPTCHA_SECRET_KEY
db:
image: postgres:14.1-alpine
container_name: db
environment:
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
volumes:
- postgres_data:/var/lib/postgresql/data/
redis:
image: 'redis:6.2.6-alpine'
container_name: redis
celery:
build: .
container_name: celery
command: celery -A nero worker -l info
depends_on:
- db
- redis
environment:
- DEBUG
- SECRET_KEY
- ALLOWED_HOSTS
- CORS_ORIGIN_REGEX_WHITELIST
- CSRF_TRUSTED_ORIGINS
- DB_ENGINE
- DB_HOST
- DB_NAME
- DB_USER
- DB_PASSWORD
- DB_PORT
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_STORAGE_BUCKET_NAME
- AWS_S3_REGION_NAME
- KEYCLOAK_SERVER_URL
- KEYCLOAK_CLIENT_ID
- KEYCLOAK_CLIENT_SECRET
- KEYCLOAK_REALM
- CELERY_BROKER_URL
- AWS_SES_ACCESS_KEY_ID
- AWS_SES_SECRET_ACCESS_KEY
- MAIL_SERVER_URL
- MAIL_SENDER_EMAIL
- TENANT_DEFAULT_DOMAIN_SUFFIX
- TENANT_DEFAULT_DOMAIN_PREFIX
- WEBAPP_CUSTOMER_PASSWORD_RESET_CONFIRM_URL
- WEBAPP_ADMIN_PASSWORD_RESET_CONFIRM_URL
- WEBAPP_CUSTOMER_EMAIL_CHANGE_CONFIRM_URL
- WEBAPP_ADMIN_EMAIL_CHANGE_CONFIRM_URL
- WEBAPP_VERIFY_EMAIL_URL=/verify-email
- GOOGLE_RECAPTCHA_SECRET_KEY
volumes:
postgres_data: