mv-ng-typeahead/docker/compose.preview.yml
Flo d3f0b5c568
All checks were successful
Preview Deploy / preview (push) Successful in 9s
ci: add deploy related config
2026-11-01 21:49:38 +01:00

25 lines
743 B
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

services:
web:
# Beispiel: Angular-App – passe Build-Kontext/Dockerfile an
build:
context: ..
dockerfile: Dockerfile
args:
COMMIT_SHA: ${APP_COMMIT_SHA}
ENV: preview
image: preview-${APP_SUBDOMAIN}:${APP_COMMIT_SHA}
# Falls dein Container nicht auf 80 lauscht, Port hier anpassen
labels:
- traefik.enable=true
- traefik.http.routers.${APP_SUBDOMAIN}.rule=Host(`${APP_SUBDOMAIN}.apps.pixel.cooking`)
- traefik.http.routers.${APP_SUBDOMAIN}.entrypoints=websecure
- traefik.http.routers.${APP_SUBDOMAIN}.tls.certresolver=le
- traefik.http.services.${APP_SUBDOMAIN}.loadbalancer.server.port=80
networks: [ proxy ]
networks:
proxy:
external: true