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
|
||||
dockerfile: Dockerfile
|
||||
target: final
|
||||
ports:
|
||||
- 8080:8080
|
||||
|
||||
frontend:
|
||||
env_file:
|
||||
|
@ -16,7 +18,18 @@ services:
|
|||
target: final
|
||||
args:
|
||||
- VITE_API_ENDPOINT=${VITE_API_ENDPOINT}
|
||||
ports:
|
||||
- 5173:5173
|
||||
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