Merge pull request 'excalidraw' (#1) from excalidraw into main
Reviewed-on: #1
This commit is contained in:
commit
21722b8189
2 changed files with 38 additions and 0 deletions
5
excalidraw/.env-example
Normal file
5
excalidraw/.env-example
Normal file
|
@ -0,0 +1,5 @@
|
|||
# Excalidraw Version (Standard: latest)
|
||||
EXCALIDRAW_VERSION=latest
|
||||
|
||||
# Excalidraw Domain
|
||||
EXCALIDRAW_DOMAIN=excalidraw.example.com
|
33
excalidraw/docker-compose.yml
Normal file
33
excalidraw/docker-compose.yml
Normal file
|
@ -0,0 +1,33 @@
|
|||
services:
|
||||
excalidraw:
|
||||
image: excalidraw/excalidraw:${EXCALIDRAW_VERSION:-latest}
|
||||
container_name: excalidraw
|
||||
restart: on-failure
|
||||
stdin_open: true
|
||||
healthcheck:
|
||||
disable: true
|
||||
environment:
|
||||
- NODE_ENV=development
|
||||
volumes:
|
||||
- ./data/app:/opt/node_app/app:delegated
|
||||
- ./data/package.json:/opt/node_app/package.json
|
||||
- ./data/yarn.lock:/opt/node_app/yarn.lock
|
||||
- ./data/node_modules:/opt/node_app/app/node_modules
|
||||
networks:
|
||||
- traefik
|
||||
labels:
|
||||
- "traefik.enable=true"
|
||||
- "traefik.docker.network=traefik"
|
||||
- "traefik.http.routers.excalidraw.entrypoints=http"
|
||||
- "traefik.http.routers.excalidraw.rule=Host(`${EXCALIDRAW_DOMAIN:?error}`)"
|
||||
- "traefik.http.middlewares.excalidraw-https-redirect.redirectscheme.scheme=https"
|
||||
- "traefik.http.routers.excalidraw.middlewares=excalidraw-https-redirect"
|
||||
- "traefik.http.routers.excalidraw-secure.entrypoints=https"
|
||||
- "traefik.http.routers.excalidraw-secure.rule=Host(`${EXCALIDRAW_DOMAIN:?error}`)"
|
||||
- "traefik.http.routers.excalidraw-secure.tls=true"
|
||||
- "traefik.http.routers.excalidraw-secure.service=excalidraw"
|
||||
- "traefik.http.services.excalidraw.loadbalancer.server.port=80"
|
||||
|
||||
networks:
|
||||
traefik:
|
||||
external: true
|
Loading…
Add table
Reference in a new issue