Added CI Deployment

This commit is contained in:
Matthew McKinnon 2023-12-31 21:31:54 +10:00
parent 7159e663c5
commit ee7b3fd1d1

View File

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