forked from dotkom/onlineweb4
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
87 lines (87 loc) · 2.38 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
version: "2.1"
services:
dbdata:
image: postgres:latest
volumes:
- /var/lib/postgresql
command: /bin/true
db:
image: aidanlister/postgres-hstore
volumes_from:
- dbdata
ports:
- "5432"
django:
build:
context: .
dockerfile: Django.Dockerfile
command: python manage.py runserver 0.0.0.0:8000
volumes:
- .:/srv/app
ports:
- "8000:8000"
depends_on:
- db
links:
- db
environment:
- DATABASE_URL
- DJANGO_SETTINGS_MODULE=onlineweb4.settings
- OW4_PYTHON_DONT_WRITE_BYTECODE
- OW4_DJANGO_TEST_RUNNER
- OW4_DJANGO_DEBUG
- OW4_DJANGO_ALLOWED_HOSTS
- OW4_DJANGO_EMAIL_BACKEND
- OW4_DJANGO_SECRET_KEY
- OW4_DJANGO_BASE_URL
- OW4_DJANGO_MEDIA_ROOT
- OW4_DJANGO_STATIC_ROOT
- OW4_DJANGO_SLACK_INVITER_TEAM_NAME
- OW4_DJANGO_SLACK_INVITER_TOKEN
- OW4_DJANGO_CORS_ORIGIN_ALLOW_ALL
- OW4_DJANGO_DEVELOPMENT_HTTPS
- OW4_DJANGO_STRIPE_PUBLIC_KEY_ARRKOM
- OW4_DJANGO_STRIPE_PUBLIC_KEY_PROKOM
- OW4_DJANGO_STRIPE_PUBLIC_KEY_TRIKOM
- OW4_DJANGO_STRIPE_PRIVATE_KEY_ARRKOM
- OW4_DJANGO_STRIPE_PRIVATE_KEY_PROKOM
- OW4_DJANGO_STRIPE_PRIVATE_KEY_TRIKOM
- OW4_DJANGO_RECAPTCHA_PUBLIC_KEY
- OW4_DJANGO_RECAPTCHA_PRIVATE_KEY
- OW4_DJANGO_NOCAPTCHA
- OW4_DJANGO_RECAPTCHA_USE_SSL
- OW4_SETTINGS
- OW4_EVENTS_ENABLE_RECAPTCHA
- OW4_EVENTS_FEATURED_DAYS_FUTURE
- OW4_EVENTS_FEATURED_DAYS_PAST
- OW4_GSUITE_CREDENTIALS_FILENAME
- OW4_GSUITE_CREDENTIALS_PATH
- OW4_GSUITE_DELEGATED_ACCOUNT
- OW4_GSUITE_ENABLED
- OW4_GSUITE_ACCOUNTS_ENABLED
- OW4_GSUITE_ACCOUNTS_ENABLE_INSERT
- OW4_GSUITE_SYNC_ENABLED
- OW4_GSUITE_SYNC_ENABLE_INSERT
- OW4_GSUITE_SYNC_ENABLE_DELETE
- OW4_VIMEO_API_TOKEN
- OW4_WEB_PUSH_PRIVATE_KEY
- OW4_WEB_PUSH_ENABLED
- OW4_SENTRY_DSN
- OW4_OIDC_RSA_PRIVATE_KEY
webpack:
build:
context: .
dockerfile: Webpack.Dockerfile
command: npm start
volumes:
- .:/srv/app
- /srv/app/node_modules
ports:
- "3000:3000"
environment:
- OW4_ABAKUS_OVERRIDE
- WEBPACK_DEV_IP=0.0.0.0
- WEBPACK_DEV_PORT=3000
- WEBPACK_DEV_PUBLIC_IP=${WEBPACK_DEV_PUBLIC_IP:-localhost}
- WEBPACK_DEV_PUBLIC_PORT
- WEBPACK_DEV_HTTPS