Files
CI-CD-TestingRepo/docker-compose.yaml
T
ksan f1d11085a1
CI/CD / build (push) Failing after 6s
CI/CD / deploy (push) Has been skipped
testing build and deploy
2026-05-31 14:25:07 +02:00

23 lines
616 B
YAML

services:
nginx:
build:
context: .
dockerfile: Dockerfile
image: git.ksan.dev/ksan/testapp:latest
container_name: testapp_nginx
networks:
- frontend
labels:
- traefik.enable=true
- traefik.http.routers.testapp-https.rule=Host(`${DOMAIN}`)
- traefik.http.routers.testapp-https.entrypoints=websecure
- traefik.http.routers.testapp-https.tls=true
- traefik.http.routers.testapp-https.tls.certresolver=cloudflare
- traefik.http.services.testapp.loadbalancer.server.port=80
restart: unless-stopped
networks:
frontend:
external: true