comprofix.com/docker-compose.yml

18 lines
552 B
YAML

---
version: '3'
services:
comprofix:
container_name: comprofix
image: registry.gitlab.comprofix.com/comprofix/website:latest
restart: unless-stopped
recreate: true
networks:
- 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