mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-30 15:31:12 +00:00
34 lines
923 B
YAML
34 lines
923 B
YAML
services:
|
|
|
|
excalidraw:
|
|
image: excalidraw/excalidraw:latest
|
|
container_name: excalidraw
|
|
restart: unless-stopped
|
|
stdin_open: true
|
|
healthcheck:
|
|
disable: true
|
|
environment:
|
|
- NODE_ENV=production
|
|
ports:
|
|
- "3000:80"
|
|
expose:
|
|
- 80
|
|
#networks:
|
|
# - proxy
|
|
#volumes:
|
|
# - ./:/opt/node_app/app:delegated
|
|
# - ./package.json:/opt/node_app/package.json
|
|
# - ./yarn.lock:/opt/node_app/yarn.lock
|
|
# - notused:/opt/node_app/app/node_modules
|
|
#labels:
|
|
# - traefik.enable=true
|
|
# - traefik.http.routers.excalidraw.rule=Host(`draw.example.com`)
|
|
# - traefik.http.services.excalidraw.loadbalancer.server.port=80
|
|
# - traefik.docker.network=proxy
|
|
# # Part for local lan services only; disable to expose externally
|
|
# - traefik.http.routers.excalidraw.middlewares=local-ipwhitelist@file
|
|
|
|
#networks:
|
|
# proxy:
|
|
# external: true
|