-
Notifications
You must be signed in to change notification settings - Fork 9
/
docker-compose.yaml
74 lines (74 loc) · 1.18 KB
/
docker-compose.yaml
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
version: '2'
services:
web:
build:
context: .
entrypoint: /bin/bash
ports:
- "8000:8000"
links:
- postgres
- redis
tty: true
stdin_open: true
working_dir: /klub-v/
user: test
volumes:
- ./:/klub-v/
celery:
build:
context: .
entrypoint: /usr/local/bin/celery worker -A project.celery
links:
- postgres
- redis
tty: true
stdin_open: true
working_dir: /klub-v/
user: test
volumes:
- ./:/klub-v/
environment:
- COLUMNS=80
celery-beat:
build:
context: .
entrypoint: /usr/local/bin/celery beat -A project.celery
links:
- postgres
- redis
tty: true
stdin_open: true
working_dir: /klub-v/
user: test
volumes:
- ./:/klub-v/
environment:
- COLUMNS=80
flower:
build:
context: .
entrypoint: ./launch_flower
ports:
- "5555:5555"
links:
- postgres
- redis
tty: true
stdin_open: true
working_dir: /klub-v/
user: test
volumes:
- ./:/klub-v/
redis:
image: redis
postgres:
image: postgis/postgis:14-3.3-alpine
volumes:
- ./db:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: foobar
POSTGRES_USER: klub
PGDATA: /var/lib/postgresql/data
ports:
- "6543:5432"