-
Notifications
You must be signed in to change notification settings - Fork 4
/
docker-compose.maintenance.yml
61 lines (56 loc) · 1.73 KB
/
docker-compose.maintenance.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
services:
db:
environment:
- "ALLOW_EMPTY_PASSWORD=yes"
console:
image: crs4/lifemonitor
restart: "unless-stopped"
depends_on:
- "db"
- "init"
- "redis"
entrypoint: /bin/bash
command: |
-c "sleep infinity"
user: "${USER_UID}:${USER_GID}"
env_file:
- settings.conf
environment:
- "FLASK_ENV=development"
- "TEMPLATES_AUTO_RELOAD=True"
- "HOME=/lm"
# Normally, OAuthLib will raise an InsecureTransportError if you attempt to use OAuth2 over HTTP,
# rather than HTTPS. Setting this environment variable will prevent this error from being raised.
# This is mostly useful for local testing, or automated tests. Never set this variable in production.
- "AUTHLIB_INSECURE_TRANSPORT=1"
# - "SERVER_NAME=lm:8000"
volumes:
- "./certs:/certs:ro"
- "./instance:/lm/instance:ro"
- "./settings.conf:/lm/settings.conf:ro" # default settings
- "./:/lm"
- "data_workflows:/var/data/lm"
ports:
- "8000"
networks:
- life_monitor
init:
user: "${USER_UID}:${USER_GID}"
environment:
- "FLASK_ENV=development"
# Normally, OAuthLib will raise an InsecureTransportError if you attempt to use OAuth2 over HTTP,
# rather than HTTPS. Setting this environment variable will prevent this error from being raised.
# This is mostly useful for local testing, or automated tests. Never set this variable in production.
- "AUTHLIB_INSECURE_TRANSPORT=1"
- "HOME=/lm"
volumes:
- "./:/lm"
lm:
environment:
- "FLASK_ENV=maintenance"
ws_server:
environment:
- "FLASK_ENV=maintenance"
worker:
environment:
- "FLASK_ENV=maintenance"