mirror of
https://github.com/Haxxnet/Compose-Examples
synced 2024-11-25 04:51:13 +00:00
b8ceb15c71
comment network definitions
33 lines
909 B
YAML
33 lines
909 B
YAML
version: "3.8"
|
|
|
|
services:
|
|
excalidraw:
|
|
container_name: excalidraw
|
|
image: excalidraw/excalidraw:latest
|
|
ports:
|
|
- "3000:80"
|
|
restart: unless-stopped
|
|
stdin_open: true
|
|
healthcheck:
|
|
disable: true
|
|
environment:
|
|
- NODE_ENV=production
|
|
#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
|