forked from MapStory/mapstory
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.override.yml
127 lines (116 loc) · 2.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
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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
# Dev configuration
version: '3.1'
services:
selenium:
image: selenium/standalone-chrome
links:
- nginx
networks:
internal:
expose:
- "4444"
protractor:
build:
context: .
dockerfile: Dockerfile.protractor
image: quay.io/mapstory/protractor:master
links:
- selenium
- nginx
command: /bin/true
volumes:
- ./mapstory/tests/errors:/opt/mapstory/tests/e2e/errors
networks:
internal:
postgres:
image: mdillon/postgis:9.5
env_file:
- docker/env/dev/db_auth.env
- docker/env/dev/postgres.env
volumes:
- postgres:/var/lib/postgresql/data
networks:
internal:
expose:
- "5432"
# ports:
# - "5432:5432"
pgadmin:
image: quay.io/mapstory/pgadmin:master
links:
- postgres
env_file:
- docker/env/dev/db_auth.env
# ports:
# - "5050:5050"
elasticsearch:
ports:
- "9200:9200"
rabbitmq:
image: quay.io/mapstory/rabbitmq:master
environment:
- RABBITMQ_DEFAULT_USER=mapstory
- RABBITMQ_DEFAULT_PASS=password
- RABBITMQ_DEFAULT_VHOST=mapstory
# ports:
# - "15671:15671"
# - "15672:15672"
django:
image: quay.io/mapstory/django:master
links:
- postgres
env_file:
- docker/env/dev/public_host.env
- docker/env/dev/geoserver.env
- docker/env/dev/mapstory.env
- docker/env/dev/db_auth.env
command: [--collect-static-dev, --init-db, --reindex, --serve-dev]
volumes:
- .:/srv/mapstory/
- ./cover:/srv/mapstory/cover
- site-packages:/usr/local/lib/python2.7/site-packages-copy
# ports:
# - "8000:8000"
celery:
image: quay.io/mapstory/django:master
links:
- postgres
environment:
REQUESTS_CA_BUNDLE: /etc/ssl/certs/ca-certificates.crt
env_file:
- docker/env/dev/public_host.env
- docker/env/dev/geoserver.env
- docker/env/dev/mapstory.env
- docker/env/dev/db_auth.env
volumes:
- .:/srv/mapstory/
- ./cover:/srv/mapstory/cover
- site-packages:/usr/local/lib/python2.7/site-packages-copy
django_volumes:
image: quay.io/mapstory/django:master
entrypoint: /bin/sh -c "chown -R mapstory:mapstory /var/lib/mapstory && chown -R mapstory:mapstory /srv/mapstory/cover"
volumes:
- ./cover:/srv/mapstory/cover
geoserver:
links:
- postgres
env_file:
- docker/env/dev/public_host.env
- docker/env/dev/geoserver.env
- docker/env/dev/db_auth.env
# ports:
# - "8080:8080"
nginx:
image: quay.io/mapstory/nginx:master
env_file:
- docker/env/dev/public_host.env
volumes:
- .:/srv/mapstory/ # mapstory_static has symlinks to this
- site-packages:/usr/local/lib/python2.7/site-packages:ro # and this
networks:
internal:
aliases:
- docker
volumes:
postgres:
site-packages: