-
-
Notifications
You must be signed in to change notification settings - Fork 10
/
docker-compose.shared.yml
67 lines (67 loc) · 1.86 KB
/
docker-compose.shared.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
version: '3.3'
services:
frontend:
environment:
# General aggregator configuration.
- AGGREGATOR_NAME
- FARM_ACTIVE_AFTER_REGISTRATION
- AGGREGATOR_OAUTH_INSECURE_TRANSPORT
- AGGREGATOR_OPEN_FARM_REGISTRATION
- AGGREGATOR_INVITE_FARM_REGISTRATION
- AGGREGATOR_OAUTH_CLIENT_ID
- AGGREGATOR_OAUTH_CLIENT_SECRET
- AGGREGATOR_OAUTH_SCOPES
- AGGREGATOR_OAUTH_DEFAULT_SCOPES
- AGGREGATOR_OAUTH_REQUIRED_SCOPES
backend:
depends_on:
- db
environment:
# Configuration for postgres DB.
- POSTGRES_SERVER
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
# Configuration for backend app.
- BACKEND_CORS_ORIGINS
- SECRET_KEY
- FIRST_SUPERUSER
- FIRST_SUPERUSER_PASSWORD
- SMTP_TLS
- SMTP_PORT
- SMTP_HOST
- SMTP_USER
- SMTP_PASSWORD
- EMAILS_FROM_EMAIL
- USERS_OPEN_REGISTRATION
# Configuration for SQLALchemy.
- SQLALCHEMY_POOL_SIZE
- SQLALCHEMY_MAX_OVERFLOW
# Configure aggregator admin errors
- AGGREGATOR_ALERT_NEW_FARMS
- AGGREGATOR_ALERT_ALL_ERRORS
- AGGREGATOR_ALERT_PING_FARMS_ERRORS
# General aggregator configuration.
- AGGREGATOR_NAME
- FARM_ACTIVE_AFTER_REGISTRATION
- AGGREGATOR_OAUTH_INSECURE_TRANSPORT
- AGGREGATOR_OPEN_FARM_REGISTRATION
- AGGREGATOR_INVITE_FARM_REGISTRATION
- AGGREGATOR_OAUTH_CLIENT_ID
- AGGREGATOR_OAUTH_CLIENT_SECRET
- AGGREGATOR_OAUTH_SCOPES
- AGGREGATOR_OAUTH_DEFAULT_SCOPES
- AGGREGATOR_OAUTH_REQUIRED_SCOPES
db:
image: postgres:11
environment:
- PGDATA=/var/lib/postgresql/data/pgdata
- POSTGRES_SERVER
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
proxy:
image: nginx:stable-alpine
depends_on:
- backend
- frontend