-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-compose.dev.yml
More file actions
31 lines (30 loc) · 863 Bytes
/
Copy pathdocker-compose.dev.yml
File metadata and controls
31 lines (30 loc) · 863 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
version: '3.7'
services:
apiserver:
command: sleep infinity
volumes:
- .:/e2eencloud:cached
- apiserver-bashhistory:/commandhistory
- volume-apiservercache:/home/vscode/.cache
ports:
- 8084:5555
labels:
traefik.http.routers.app.rule: "Host(`app.localhost`) && PathPrefix(`/api`)"
frontenddevserver:
container_name: frontenddevserver
image: node:20.5.0
command: sleep infinity
volumes:
- .:/e2eencloud:cached
networks:
- web
restart: always
labels:
traefik.enable: true
traefik.http.routers.front.rule: "Host(`app.localhost`) && !PathPrefix(`/api`)"
traefik.http.routers.front.entrypoints: http
traefik.http.services.front.loadbalancer.server.port: 3000
traefik.docker.network: traefik_web
volumes:
apiserver-bashhistory:
volume-appcache: