forked from auto-mat/do-prace-na-kole
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathdocker-compose-dev.yml
62 lines (62 loc) · 1.09 KB
/
docker-compose-dev.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
version: '2'
services:
web:
build:
context: .
dockerfile: DockerfileDev
entrypoint: /bin/bash
ports:
- "8021:8000"
links:
- postgres
- redis
tty: true
stdin_open: true
working_dir: /app-v/
user: test
volumes:
- ./:/app-v/
- ./pipenv:/home/test
env_file: docker.env
celery:
build:
context: .
dockerfile: DockerfileDev
entrypoint: celery worker -A project.celery -ldebug
links:
- postgres
- redis
tty: true
stdin_open: true
working_dir: /klub-v/
user: test
volumes:
- ./:/klub-v/
- ./pipenv:/home/test
env_file: docker.env
celery-beat:
build:
context: .
dockerfile: DockerfileDev
entrypoint: celery beat -A project.celery -ldebug
links:
- postgres
- redis
tty: true
stdin_open: true
working_dir: /app-v/
user: test
volumes:
- ./:/app-v/
- ./pipenv:/home/test
env_file: docker.env
redis:
image: redis
postgres:
image: mdillon/postgis:9.6-alpine
volumes:
- ./db:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: foobar
POSTGRES_USER: dpnk
PGDATA: /var/lib/postgresql/data