forked from RegioHelden/django-datawatch
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose.yaml
51 lines (47 loc) · 946 Bytes
/
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
version: '3.5'
services:
app:
build: .
user: app
command: runserver 0:8000
volumes:
- .:/app
ports:
- '8000:8000'
environment:
IPYTHONDIR: /app/.ipython
HISTFILE: /app/.bash_history
restart: unless-stopped
networks:
default:
aliases:
- datawatch
depends_on:
- db
db:
image: postgres:14-alpine
user: postgres
environment:
POSTGRES_USER: app
POSTGRES_PASSWORD: app
POSTGRES_DB: app
volumes:
- db_data:/var/lib/postgresql/data
restart: unless-stopped
networks:
default:
aliases:
- datawatch-db
rabbitmq:
image: rabbitmq:3.7-management
ports:
- '15672:15672' # admin UI; credentials: guest/guest
volumes:
- /var/lib/rabbitmq
restart: unless-stopped
networks:
default:
aliases:
- datawatch-rabbitmq
volumes:
db_data: {}