Added CI Deployment
This commit is contained in:
parent
7159e663c5
commit
ee7b3fd1d1
@ -5,13 +5,14 @@ services:
|
|||||||
container_name: comprofix
|
container_name: comprofix
|
||||||
image: registry.gitlab.comprofix.com/comprofix/website:latest
|
image: registry.gitlab.comprofix.com/comprofix/website:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
recreate: true
|
|
||||||
networks:
|
networks:
|
||||||
- name: traefik
|
- traefik
|
||||||
labels:
|
labels:
|
||||||
traefik.enable=true
|
- traefik.enable=true
|
||||||
traefik.http.routers.{{container_name}}.rule=Host(`comprofix.com`)
|
- traefik.http.routers.{{container_name}}.rule=Host(`comprofix.com`,`www.comprofix.com`)
|
||||||
traefik.http.routers.{{container_name}}.rule=Host(`www.comprofix.com`)
|
- traefik.http.routers.{{container_name}}.entrypoints=https
|
||||||
traefik.http.routers.{{container_name}}.entrypoints=https
|
- traefik.http.routers.{{container_name}}.tls.certresolver=cloudflare
|
||||||
traefik.http.routers.{{container_name}}.tls.certresolver=cloudflare
|
|
||||||
|
networks:
|
||||||
|
traefik:
|
||||||
|
external: true
|
Loading…
Reference in New Issue
Block a user