-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.yml
More file actions
69 lines (61 loc) · 1.59 KB
/
docker-compose.yml
File metadata and controls
69 lines (61 loc) · 1.59 KB
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
version: '3.5'
services:
backend:
build: "backend"
command: "python manage.py runserver 0.0.0.0:8000"
ports:
- 8000:8000
volumes:
- ./backend:/app
depends_on:
- db
environment:
PYTHONUNBUFFERED: 1
PYTHONDONTWRITEBYTECODE: 1
# frontend:
# build: "frontend"
# ports:
# - 3000:3000
# volumes:
# - ./frontend:/code
# depends_on:
# - backend
db:
image: postgres
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: postgres
ports:
- 5432:5432
volumes:
- postgresdata:/var/lib/postgresql/data
# adminer:
# image: adminer
# restart: always
# ports:
# - 8080:8080
# depends_on:
# - db
# pgadmin:
# image: dpage/pgadmin4
# environment:
# PGADMIN_DEFAULT_EMAIL: steambro@example.com
# PGADMIN_DEFAULT_PASSWORD: postgres
# PGADMIN_LISTEN_ADDRESS: 0.0.0.0
# PGADMIN_LISTEN_PORT: 5050
# ports:
# - 8081:5050
# volumes:
# - pgadmin:/root/.pgadmin
# - pgadmin:/var/lib/pgadmin
# - pgadmin:/pgadmin4/config_local.py
# - pgadmin:/pgadmin4/servers.json
# depends_on:
# - db
# rabbitmq:
# image: rabbitmq:3.8-rc
volumes:
postgresdata:
pgadmin: