testing build and deploy
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
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
|
||||
|
||||
Reference in New Issue
Block a user