-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.bspb.yml
72 lines (63 loc) · 1.63 KB
/
docker-compose.override.bspb.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
version: '2.2'
networks:
inside:
ingress:
external: true
services:
db:
networks:
- inside
ports:
- "5432:5432"
rabbitmq:
networks:
- inside
geoserver:
environment:
- GEONODE_LB_HOST_IP=87.252.173.51
- GEONODE_LB_PORT=80
networks:
- inside
django:
volumes:
- type: tmpfs
target: /tmp
tmpfs:
size: 10737418240 # 10GB in bytes
environment:
- DEBUG=False
# - GEONODE_LB_HOST_IP=87.252.173.51
- GEONODE_LB_HOST_IP=192.168.1.101
- GEONODE_LB_PORT=80
- SITEURL=https://gis.bspb.org/
- ALLOWED_HOSTS=['gis.bspb.org', ]
- GEOSERVER_PUBLIC_LOCATION=https://gis.bspb.org/geoserver/
- GEOSERVER_WEB_UI_LOCATION=https://gis.bspb.org/geoserver/
networks:
- inside
celery:
environment:
- DEBUG=False
# - GEONODE_LB_HOST_IP=87.252.173.51
- GEONODE_LB_HOST_IP=192.168.1.101
- GEONODE_LB_PORT=80
- SITEURL=https://gis.bspb.org/
- ALLOWED_HOSTS=['gis.bspb.org', ]
- GEOSERVER_PUBLIC_LOCATION=https://gis.bspb.org/geoserver/
- GEOSERVER_WEB_UI_LOCATION=https://gis.bspb.org/geoserver/
networks:
- inside
geonode:
labels:
- "traefik.enable=true"
- "traefik.http.routers.geonode.entrypoints=http, https"
- "traefik.http.routers.geonode.rule=Host(`gis.bspb.org`)"
- "traefik.http.routers.geonode.tls.certResolver=default"
- "traefik.http.services.geonode.loadbalancer.server.port=80"
image: geonode/nginx:production
networks:
- inside
- ingress
data-dir-conf:
networks:
- inside