Added CI Deployment

This commit is contained in:
2023-12-31 20:09:37 +10:00
parent c6e8a38eee
commit 087c16521c
2 changed files with 41 additions and 5 deletions

View File

@ -5,9 +5,13 @@ services:
container_name: comprofix
image: registry.gitlab.comprofix.com/comprofix/website:latest
restart: unless-stopped
recreate: true
networks:
- npm_default
networks:
npm_default:
external: true
- name: traefik
labels:
traefik.enable=true
traefik.http.routers.{{container_name}}.rule=Host(`comprofix.com`)
traefik.http.routers.{{container_name}}.rule=Host(`www.comprofix.com`)
traefik.http.routers.{{container_name}}.entrypoints=https
traefik.http.routers.{{container_name}}.tls.certresolver=cloudflare