-
Notifications
You must be signed in to change notification settings - Fork 2
/
docker-compose.yml
40 lines (36 loc) · 925 Bytes
/
docker-compose.yml
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
version: '3'
services:
cloud:
build:
context: ./cloud
dockerfile: Dockerfile
ports:
- "8080:8080"
- "8081:8081"
- "8082:8082"
- "8083:8083"
- "8084:8084"
- "8085:8085"
nginx:
image: nginx:latest
volumes:
- "./load-balancer/nginx.conf:/etc/nginx/nginx.conf"
ports:
- 9999:9999
local:
build:
context: ./local
dockerfile: Dockerfile
ports:
- "8000:4173"
volumes:
- ./local/src:/home/node/app/src
- ./local/static:/home/node/app/static
- ./local/vite.config.js:/home/node/app/vite.config.js
- ./local/tailwind.config.cjs:/home/node/app/tailwind.config.cjs
- ./local/postcss.config.cjs:/home/node/app/postcss.config.cjs
- ./local/svelte.config.js:/home/node/app/svelte.config.js
command: "npm run sw -- --host"
environment:
- PORT=4173
- HOST=0.0.0.0