-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
69 lines (65 loc) · 1.35 KB
/
docker-compose.dev.yml
File metadata and controls
69 lines (65 loc) · 1.35 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.2"
services:
frontend:
container_name: bio2game_frontend
build:
context: ../frontend/
dockerfile: Dockerfile.dev
env_file:
- ../frontend/.env
volumes:
- ../frontend:/app:cached
- /app/node_modules
ports:
- "6001:6001"
depends_on:
- postgres
networks:
- global
backend:
container_name: bio2game_backend
build:
context: ../backend/
dockerfile: Dockerfile.dev
env_file:
- ../backend/.env
volumes:
- ../backend:/app:cached
- /app/node_modules
- ../cdn:/app/files
ports:
- "6002:6002"
depends_on:
- postgres
networks:
- global
postgres:
container_name: bio2game_postgres
image: "postgres:13"
restart: unless-stopped
env_file:
- ./.env
volumes:
- ./database/postgres:/var/lib/postgresql/data
ports:
- "5438:5432"
networks:
- global
cube:
container_name: bio2game_cube
image: cubejs/cube:latest
ports:
- 4000:4000
environment:
- CUBEJS_DEV_MODE=true
- CUBEJS_DB_TYPE=postgres
- CUBEJS_DB_HOST=bio2game_postgres
- CUBEJS_DB_NAME=${POSTGRES_USER}
- CUBEJS_DB_USER=${POSTGRES_USER}
- CUBEJS_DB_PASS=${POSTGRES_PASSWORD}
volumes:
- .:/cube/conf
networks:
- global
networks:
global: