-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompose.dev.yaml
More file actions
46 lines (43 loc) · 925 Bytes
/
Copy pathcompose.dev.yaml
File metadata and controls
46 lines (43 loc) · 925 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
services:
frontend:
container_name: wish-magic-frontend-dev
image: wish-magic-frontend:dev
depends_on:
- backend
restart: on-failure
build:
context: ./frontend
dockerfile: Dockerfile.dev
volumes:
- ./frontend/src:/app/src
ports:
- 3001:3000
backend:
container_name: wish-magic-backend-dev
depends_on:
- db
image: wish-magic-backend:dev
restart: on-failure
build:
context: ./backend
dockerfile: Dockerfile.dev
volumes:
- ./backend/src:/app/src
ports:
- 4000:3000
env_file:
- ./backend/.env.development
db:
container_name: wish-magic-postgres-dev
image: postgres:14.3-alpine
restart: on-failure
ports:
- 5432:5432
env_file:
- ./backend/.env.development
adminer:
container_name: adminer
image: adminer
restart: always
ports:
- 8081:8080