-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathcompose.yaml
More file actions
51 lines (48 loc) · 1007 Bytes
/
compose.yaml
File metadata and controls
51 lines (48 loc) · 1007 Bytes
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
services:
app:
build: .
user: app
entrypoint: /app/manage.py
command: runserver 0:8000
volumes:
- .:/app:cached
environment:
SHELL: /bin/bash
IPYTHONDIR: /app/.ipython
HISTFILE: /app/.bash_history
PYTHONPATH: /app
restart: unless-stopped
networks:
default:
aliases:
- datawatch
depends_on:
- db
- rabbitmq
db:
image: postgres:17-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:4.0-management-alpine
ports:
- '15672:15672' # admin UI; credentials: guest/guest
volumes:
- /var/lib/rabbitmq
restart: unless-stopped
networks:
default:
aliases:
- datawatch-rabbitmq
volumes:
db_data: {}