-
Notifications
You must be signed in to change notification settings - Fork 10
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
77 lines (73 loc) · 1.45 KB
/
docker-compose.yaml
File metadata and controls
77 lines (73 loc) · 1.45 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
70
71
72
73
74
75
76
77
services:
doteducation-mongodb:
image: mongo:7.0.5-jammy
attach: false
ports:
- 27017:27017
networks:
- doteducation-network
profiles:
- default
- slim
doteducation-app:
image: oven/bun:1.1.29
platform: linux/arm64
ports:
- 3000:3000
volumes:
- ./:/usr/app
env_file:
- .env
command: >
bash -c "cd /usr/app &&
bun i --verbose &&
bun dev"
depends_on:
- doteducation-api
networks:
- doteducation-network
extra_hosts:
- "localhost:host-gateway"
profiles:
- default
- slim
doteducation-api:
image: oven/bun:1.1.29
ports:
- 4000:4000
volumes:
- ./submodules/api:/usr/api
env_file:
- ./submodules/api/.env
command: >
bash -c "cd /usr/api &&
bun i &&
bun dev"
depends_on:
- doteducation-mongodb
networks:
- doteducation-network
extra_hosts:
- "localhost:host-gateway"
profiles:
- default
- slim
doteducation-landing-page:
image: oven/bun:1.1.29
ports:
- 3001:3001
volumes:
- ./submodules/landing-page:/usr/landing-page
command: >
bash -c "cd /usr/landing-page &&
bun i &&
PORT=3001 bun dev"
networks:
- doteducation-network
extra_hosts:
- "localhost:host-gateway"
profiles:
- default
networks:
doteducation-network:
driver: bridge