-
Notifications
You must be signed in to change notification settings - Fork 1
/
docker-compose.yaml
62 lines (56 loc) · 1.26 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
version: '3.8'
services:
minio:
build:
context: .
dockerfile: ./services/minio/Dockerfile
container_name: minio
ports:
- "9000:9000"
environment:
MINIO_ROOT_USER: MEGASCATTERBOMB
MINIO_ROOT_PASSWORD: masterbase
volumes:
- demo_data:/blobs/
db:
build:
context: .
dockerfile: ./services/db/Dockerfile
container_name: db
environment:
POSTGRES_USER: MEGASCATTERBOMB
POSTGRES_PASSWORD: masterbase
POSTGRES_DB: demos
ports:
- "8050:5432"
volumes:
- db_data:/var/lib/postgresql/data/
api:
build:
context: .
dockerfile: ./services/api/Dockerfile
args:
DEVELOPMENT: ${DEVELOPMENT}
container_name: api
environment:
DEVELOPMENT: ${DEVELOPMENT}
DEBUG_WAIT_FOR_ATTACH: ${DEBUG_WAIT_FOR_ATTACH}
STEAM_API_KEY: ${STEAM_API_KEY}
POSTGRES_USER: MEGASCATTERBOMB
POSTGRES_PASSWORD: masterbase
POSTGRES_HOST: db
POSTGRES_PORT: 5432
MINIO_HOST: minio
MINIO_PORT: 9000
MINIO_ACCESS_KEY: MEGASCATTERBOMB
MINIO_SECRET_KEY: masterbase
ports:
- "8000:8000"
depends_on:
- minio
networks:
masterbase_default:
driver: bridge
volumes:
demo_data:
db_data: