forked from Baljan/cafesys
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdocker-compose.yml
63 lines (58 loc) · 1.34 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
version: "3.2"
services:
blipp:
image: baljan/blipp
build: https://github.com/Baljan/baljans-balla-blipp.git
env_file: .env.docker
environment:
- NEXT_PUBLIC_BLIPP_API="http://localhost:8000"
ports:
- "8001:80"
cafesys-celery-beat:
image: baljan/cafesys
build:
context: .
env_file: .env.docker
command: /app/bin/run-celery-beat
volumes:
- .:/app
links:
- redis
- postgres
cafesys-celery-worker:
image: baljan/cafesys
build:
context: .
env_file: .env.docker
command: /app/bin/run-celery-worker
volumes:
- .:/app
links:
- redis
- postgres
cafesys-django:
image: baljan/cafesys
build:
context: .
env_file: .env.docker
volumes:
- .:/app
ports:
- '8000:80'
links:
- redis
- postgres
postgres:
image: postgres:9.6-alpine
env_file: .env.docker
ports:
# This gives us a Postgres server listening on the host as well. This can be useful for development outside the
# Docker environment.
- "127.0.0.1:5432:5432"
redis:
image: redis:3-alpine
env_file: .env.docker
ports:
# This gives us a Redis server listening on the host as well. This can be useful for development outside the
# Docker environment.
- "127.0.0.1:6379:6379"