forked from nextcloud/appstore
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yml
36 lines (34 loc) · 839 Bytes
/
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
version: '2'
services:
development:
build:
context: .
args:
platform: development
environment:
- DJANGO_SETTINGS_MODULE=nextcloudappstore.settings.development
volumes:
- ./nextcloudappstore:/srv/nextcloudappstore
ports:
- '127.0.0.1:8000:8000'
command: python manage.py runserver 0.0.0.0:8000
production:
image: appstore_production
build:
context: .
args:
platform: production
environment:
- DJANGO_SETTINGS_MODULE=config.production
- NEWRELIC_PATH=/srv/config/newrelic.ini
volumes:
- ./logs:/srv/logs
- ./config:/srv/config
- ./static:/srv/static
- ./media:/srv/media
ports:
- '127.0.0.1:8000:8000'
expose:
- '8000'
command: uwsgi /srv/config/uwsgi.ini
network_mode: bridge