-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose-dev.yml
More file actions
35 lines (33 loc) · 849 Bytes
/
docker-compose-dev.yml
File metadata and controls
35 lines (33 loc) · 849 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
services:
backend:
container_name: productivemaster-dev-backend
build:
context: ./backend
dockerfile: Dockerfile.dev
network_mode: host
volumes:
- ./backend:/app
restart: unless-stopped
labels:
ofelia.enabled: "true"
ofelia.job-exec.app.schedule: "@midnight"
ofelia.job-exec.app.command: "python3 task.py"
frontend:
build:
context: ./frontend
dockerfile: Dockerfile.dev
container_name: productivemaster-dev-frontend
volumes:
- ./frontend/src:/app/src
ports:
- "3000:3000"
restart: unless-stopped
ofelia:
image: mcuadros/ofelia:latest
container_name: productivemaster-dev-ofelia
restart: always
depends_on:
- backend
command: daemon --docker
volumes:
- /var/run/docker.sock:/var/run/docker.sock:r