Setup repo for local, dev and production

This commit is contained in:
2025-09-06 14:28:46 +10:00
parent 7a9a8a1f15
commit 898ad5e541
40 changed files with 236 additions and 64 deletions

19
docker-compose.yml Normal file
View File

@ -0,0 +1,19 @@
version: "3.8"
services:
comprofix:
container_name: ${CONTAINER_NAME}
image: git.comprofix.com/mmckinnon/comprofix.com:${IMAGE_TAG}
restart: unless-stopped
networks:
- proxy
labels:
- traefik.enable=true
- traefik.http.routers.${CONTAINER_NAME}.rule=Host(`${HOSTNAME}`)
- traefik.http.routers.${CONTAINER_NAME}.entrypoints=https
- traefik.http.routers.${CONTAINER_NAME}.tls=true
- traefik.http.services.${CONTAINER_NAME}.loadbalancer.server.port=80
networks:
proxy:
external: true