31 lines
587 B
YAML
31 lines
587 B
YAML
services:
|
|
acl-editor:
|
|
restart: unless-stopped
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
labels:
|
|
caddy: ${DOMAIN}
|
|
caddy.reverse_proxy: "{{upstreams 80}}"
|
|
networks:
|
|
- caddy
|
|
environment:
|
|
- NODE_ENV=production
|
|
|
|
|
|
# Development
|
|
# acl-editor-dev:
|
|
# image: node:20-alpine
|
|
# working_dir: /app
|
|
# command: sh -c "npm install && npm run dev"
|
|
# ports:
|
|
# - "5173:5173"
|
|
# volumes:
|
|
# - ./:/app
|
|
# - /app/node_modules
|
|
# environment:
|
|
# - NODE_ENV=development
|
|
networks:
|
|
caddy:
|
|
external: true
|