forked from GeoNode/geonode
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.development.yml
68 lines (64 loc) · 1.78 KB
/
docker-compose.development.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
version: '2.2'
services:
celery:
build: .
command: celery worker --app=geonode.celery_app:app --broker=amqp://guest:guest@rabbitmq:5672/ -B -l DEBUG
depends_on:
- db
- elasticsearch
- rabbitmq
volumes:
- .:/usr/src/app
- statics:/mnt/volumes/statics
- geoserver-data-dir:/geoserver_data/data
environment:
- DOCKER_ENV=${SET_DOCKER_ENV}
- IS_CELERY=True
- DEBUG=True
- GEONODE_LB_HOST_IP=localhost
- GEONODE_LB_PORT=80
- SITEURL=http://localhost/
- ALLOWED_HOSTS=['localhost', ]
- GEOSERVER_PUBLIC_LOCATION=http://localhost/geoserver/
- GEOSERVER_WEB_UI_LOCATION=http://localhost/geoserver/
django:
build: .
command: python manage.py runserver --settings=geonode.settings 0.0.0.0:8000
volumes:
- .:/usr/src/app
- statics:/mnt/volumes/statics
- geoserver-data-dir:/geoserver_data/data
environment:
- DOCKER_ENV=${SET_DOCKER_ENV}
- IS_CELERY=False
- DEBUG=True
- GEONODE_LB_HOST_IP=localhost
- GEONODE_LB_PORT=80
- SITEURL=http://localhost/
- ALLOWED_HOSTS=['localhost', ]
- GEOSERVER_PUBLIC_LOCATION=http://localhost/geoserver/
- GEOSERVER_WEB_UI_LOCATION=http://localhost/geoserver/
geoserver:
depends_on:
- db
- elasticsearch
- rabbitmq
- data-dir-conf
environment:
- GEONODE_LB_HOST_IP=localhost
- GEONODE_LB_PORT=80
geonode:
image: geonode/nginx:${SET_DOCKER_ENV}
restart: unless-stopped
container_name: nginx4${COMPOSE_PROJECT_NAME}
stdin_open: true
# tty: true
labels:
org.geonode.component: nginx
org.geonode.instance.name: geonode
depends_on:
- django
- celery
- geoserver
ports:
- 80:80