diff --git a/productivity/excalidraw/.env.example b/productivity/excalidraw/.env.example new file mode 100644 index 0000000..dd37835 --- /dev/null +++ b/productivity/excalidraw/.env.example @@ -0,0 +1 @@ +EXCALIDRAW_HOSTNAME=excalidraw.example.com diff --git a/productivity/excalidraw/.gitignore b/productivity/excalidraw/.gitignore new file mode 100644 index 0000000..4c49bd7 --- /dev/null +++ b/productivity/excalidraw/.gitignore @@ -0,0 +1 @@ +.env diff --git a/productivity/excalidraw/README.md b/productivity/excalidraw/README.md new file mode 100644 index 0000000..77c634e --- /dev/null +++ b/productivity/excalidraw/README.md @@ -0,0 +1,2 @@ +# Excalidraw +Self hosted collaboration software. diff --git a/productivity/excalidraw/docker-compose.yml b/productivity/excalidraw/docker-compose.yml new file mode 100644 index 0000000..3c0a5b4 --- /dev/null +++ b/productivity/excalidraw/docker-compose.yml @@ -0,0 +1,17 @@ +networks: + traefik: + external: true + +services: + excalidraw: + image: excalidraw/excalidraw:latest + container_name: excalidraw + restart: unless-stopped + networks: + - traefik + labels: + - "traefik.http.routers.excalidraw.rule=Host(`${EXCALIDRAW_HOSTNAME}`)" + - "traefik.http.routers.excalidraw.tls=true" + - "traefik.http.routers.excalidraw.tls.certresolver=lets-encrypt" + - "traefik.http.services.excalidraw.loadbalancer.server.port=80" +