-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdocker-compose.dev.yml
51 lines (48 loc) · 1.23 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
version: "3.8"
services:
pgadmin:
image: dpage/pgadmin4
environment:
- PGADMIN_DEFAULT_EMAIL
- PGADMIN_DEFAULT_PASSWORD
ports:
# For access from th elocal dev machine
- target: 80
published: 8889
depends_on:
- db
networks:
- backend
managair_server:
# volumes:
# # Mount the local source code folder for quick iterations.
# # See: https://www.docker.com/blog/containerized-python-development-part-3/
# - type: bind
# source: ./managair/
# target: /code
# # consistency: delegated
ports:
# For the application's endpoints
- target: 8888
published: 8888
# To attach to the debugger
- target: 3000
published: 3000
- target: 3001
published: 3001
environment:
- PYTHONDONTWRITEBYTECODE=1
- PYTHONUNBUFFERED=1
- DEBUG_TOOLBAR
deploy:
placement:
constraints:
- node.role == manager # For bind-mounts on swarm to work
ingestair:
environment:
- PYTHONDONTWRITEBYTECODE=1
- PYTHONUNBUFFERED=1
ports:
# To ingest samples from applications on the local dev machine
- target: 8888
published: 8890