You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
46 lines
1.3 KiB
YAML
46 lines
1.3 KiB
YAML
version: '3'
|
|
|
|
services:
|
|
gate:
|
|
image: traefik:v2.4.7
|
|
command:
|
|
- --api.insecure=true
|
|
- --providers.docker=true
|
|
- --entrypoints.web.address=:80
|
|
ports:
|
|
- 8080:80
|
|
- 9090:8080
|
|
volumes:
|
|
- /var/run/docker.sock:/var/run/docker.sock:ro
|
|
back:
|
|
user: ${CURRENT_UID}
|
|
build:
|
|
dockerfile: quarkus-dev
|
|
context: ../img
|
|
labels:
|
|
traefik.enable: 'true'
|
|
traefik.http.routers.back.entrypoints: web
|
|
traefik.http.routers.back.rule: PathPrefix(`/api`)
|
|
traefik.http.services.back.loadbalancer.server.port: '8080'
|
|
traefik.http.routers.back.middlewares: "back_strip"
|
|
traefik.http.middlewares.back_strip.stripprefix.prefixes: "/api"
|
|
volumes:
|
|
- ../../../traqtor-editor/back:/app:cached
|
|
- ../../.cache/mvn:/mvn:delegated
|
|
expose:
|
|
- 8080
|
|
face:
|
|
user: ${CURRENT_UID}
|
|
build:
|
|
dockerfile: quasar-dev
|
|
context: ../img
|
|
labels:
|
|
traefik.enable: 'true'
|
|
traefik.http.routers.face.entrypoints: web
|
|
traefik.http.routers.face.rule: PathPrefix(`/`)
|
|
traefik.http.services.face.loadbalancer.server.port: '8080'
|
|
volumes:
|
|
- ../../../traqtor-editor/face:/app:cached
|
|
- ../../.cache/npm:/app/node_modules:delegated
|
|
expose:
|
|
- 8080 |