-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
86 lines (80 loc) · 1.6 KB
/
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
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
version: '3.7'
name: geoluminate
volumes:
postgres: {}
letsencrypt:
media: {}
services:
geoluminate:
build:
context: .
dockerfile: ./compose/geoluminate/Dockerfile
image: ssjenny90/geoluminate:latest
geoluminate-postgis:
build:
context: .
dockerfile: ./compose/postgres/Dockerfile
image: geoluminate/postgis
django: &django
build:
context: .
dockerfile: ./compose/django/Dockerfile
# image: geoluminate_local
depends_on:
- geoluminate
- postgres
- redis
# - minio
volumes:
- ./:/app:z
env_file: stack.env
ports:
- 8000:8000
- 5678:5678
command: start-django
postgres:
image: geoluminate/postgis
depends_on:
- geoluminate-postgis
volumes:
- postgres:/var/lib/postgresql/data
env_file: stack.env
redis:
image: redis:6
celeryworker:
<<: *django
# depends_on:
# - django
ports: []
command: start-celeryworker
# celerybeat:
# <<: *django
# ports: []
# command: start-celerybeat
# flower:
# <<: *django
# ports:
# - "5555:5555"
# command: start-flower
minio:
image: quay.io/minio/minio:latest
volumes:
- media:/minio
env_file: stack.env
ports:
- "9000:9000"
- "9001:9001"
command: server /minio
# node:
# build:
# context: .
# dockerfile: ./compose/node/Dockerfile
# image: geoluminate_node
# depends_on:
# - django
# volumes:
# - ./:/app:z
# - /app/node_modules
# command: npm run dev
# ports:
# - '3000:3000'