mirror of
https://codeberg.org/Ewen/rudibridge.git
synced 2024-12-22 11:12:32 +00:00
wip: production
This commit is contained in:
parent
bd5ae3cbc3
commit
032faae19c
|
@ -6,6 +6,8 @@ services:
|
||||||
context: ./api
|
context: ./api
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
target: final
|
target: final
|
||||||
|
ports:
|
||||||
|
- 8080:8080
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
env_file:
|
env_file:
|
||||||
|
@ -16,7 +18,18 @@ services:
|
||||||
target: final
|
target: final
|
||||||
args:
|
args:
|
||||||
- VITE_API_ENDPOINT=${VITE_API_ENDPOINT}
|
- VITE_API_ENDPOINT=${VITE_API_ENDPOINT}
|
||||||
ports:
|
|
||||||
- 5173:5173
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./frontend/nginx/nginx.conf:/etc/nginx/nginx.conf
|
- ./frontend/nginx/nginx.conf:/etc/nginx/nginx.conf
|
||||||
|
networks:
|
||||||
|
- traefik_net
|
||||||
|
- default
|
||||||
|
labels:
|
||||||
|
- "traefik.enable=true"
|
||||||
|
- "traefik.http.routers.rudibridge.rule=Host(`${TRAEFIK_HOST}`)"
|
||||||
|
- "traefik.http.routers.rudibridge.entrypoints=http"
|
||||||
|
- "traefik.http.routers.rudibridgetls.rule=Host(`${TRAEFIK_HOST}`)"
|
||||||
|
- "traefik.http.routers.rudibridgetls.entrypoints=https"
|
||||||
|
- "traefik.http.routers.rudibridgetls.tls=true"
|
||||||
|
- "traefik.http.routers.rudibridgetls.tls.certresolver=${TRAEFIK_CERTRESOLVER}"
|
||||||
|
- "traefik.http.routers.rudibridgetls.tls.domains[0].main=${TRAEFIK_HOST}"
|
||||||
|
- "traefik.docker.network=traefik_net"
|
Loading…
Reference in a new issue