-
Notifications
You must be signed in to change notification settings - Fork 3
/
docker-compose.override.yml
61 lines (52 loc) · 1.89 KB
/
docker-compose.override.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
version: '3.4'
# Common Django template for Geonode, Celery and Celerycam services below
# RANCHER : manually copy this to each service below
x-common-django:
&default-common-django
image: olivierdalang/spcgeonode:django-dev
environment:
- DEBUG=True
volumes:
- .:/spcgeonode/
- ./_volume_static:/spcgeonode-static/
- ./_volume_media:/spcgeonode-media/
services:
django:
<< : *default-common-django
command: "uwsgi --chdir=/spcgeonode --module=spcgeonode.wsgi --socket=:8000 --http=127.0.0.1:8001 --processes=5 --py-autoreload=2"
celery:
<< : *default-common-django
command: 'celery worker --app=geonode.celery_app:app -l debug'
celerybeat:
<< : *default-common-django
command: 'celery beat --app=geonode.celery_app:app --pidfile="/celerybeat.pid" -l debug'
celerycam:
<< : *default-common-django
command: 'celery events --app=geonode.celery_app:app --pidfile="/celeryev.pid" --camera=django_celery_monitor.camera.Camera --frequency=2.0 -l debug'
nginx:
image: olivierdalang/spcgeonode:nginx-dev
volumes:
- ./_volume_static:/spcgeonode-static/
- ./_volume_media:/spcgeonode-media/
- ./_volume_certificates:/spcgeonode-certificates/
geoserver:
image: olivierdalang/spcgeonode:geoserver-dev
volumes:
- ./_volume_geodatadir:/spcgeonode-geodatadir/
letsencrypt:
image: olivierdalang/spcgeonode:letsencrypt-dev
volumes:
- ./_volume_certificates:/spcgeonode-certificates/
pgdumper:
image: olivierdalang/spcgeonode:pgdumper-dev
volumes:
- ./_volume_pgdumps:/spcgeonode-pgdumps/
rclone:
image: olivierdalang/spcgeonode:rclone-dev
volumes:
- ./_volume_pgdumps:/spcgeonode-pgdumps/
- ./_volume_media:/spcgeonode-media/
- ./_volume_geodatadir:/spcgeonode-geodatadir/
postgres:
ports:
- "5432:5432"