-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
55 lines (50 loc) · 939 Bytes
/
docker-compose.dev.yml
File metadata and controls
55 lines (50 loc) · 939 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
47
48
49
50
51
52
53
54
55
version: "3.8"
services:
api-dev:
image: mychords-api-dev
build:
context: ./api
dockerfile: Dockerfile.dev
volumes:
- ./api:/app
- ./data/api:/data
ports:
- "8081:8080"
environment:
- CGO_ENABLED=1
networks:
- mychords-network
app-dev:
image: mychords-app-dev
build:
context: ./app
dockerfile: Dockerfile.dev
volumes:
- ./app:/app
ports:
- "8082:8080"
environment:
- VITE_PORT=8080
networks:
- mychords-network
depends_on:
- api-dev
caddy-dev:
image: caddy:2-alpine
ports:
- "8080:8080"
volumes:
- ./app/Caddyfile.dev:/etc/caddy/Caddyfile
- caddy_data:/data
- caddy_config:/config
networks:
- mychords-network
depends_on:
- api-dev
- app-dev
networks:
mychords-network:
driver: bridge
volumes:
caddy_data:
caddy_config: