-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
53 lines (50 loc) · 1001 Bytes
/
docker-compose.yml
File metadata and controls
53 lines (50 loc) · 1001 Bytes
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
version: "3"
services:
redis_r1:
restart: 'on-failure'
image: redis:6.0.8-buster
cuplbackend:
restart: 'on-failure'
env_file: .env
image: "ghcr.io/cuplsensor/cuplbackend:master"
environment:
- DB_HOST
- DB_NAME
- DB_PORT
- DB_USER
- DB_SSLMODE
- DROP_ON_INIT
- WSB_PORT
- SERVER_NAME
- RATELIMIT_STORAGE_URL
- RATELIMIT_STRATEGY
- RATELIMIT_DEFAULT
- RATELIMIT_ENABLED
- FLASK_ENV=production
# Passwords
- DB_PASS
- ADMINAPI_CLIENTSECRET
- TAGTOKEN_CLIENTSECRET
- HASHIDS_SALT
- CSRF_SESSION_KEY
- SECRET_KEY
depends_on:
- redis_r1
nginx2:
restart: unless-stopped
build: ./nginx
environment:
- CERTBOT_EMAIL
- ENVSUBST_VARS=SERVER_NAME WSB_PORT
- SERVER_NAME
- WSB_PORT
ports:
- 80:80/tcp
- 443:443/tcp
volumes:
- letsencrypt:/etc/letsencrypt
depends_on:
- cuplbackend
- redis_r1
volumes:
letsencrypt: