name: lan-clipboard services: app: build: . image: lan-clipboard:local container_name: lan-clipboard restart: unless-stopped ports: - "${BIND_IP:?BIND_IP must be set in .env}:${APP_PORT:-8085}:8000" # All app settings come from .env (see .env.example) env_file: .env volumes: - ./data:/data security_opt: - no-new-privileges:true cap_drop: - ALL cap_add: - CHOWN - SETUID - SETGID mem_limit: 256m logging: driver: json-file options: max-size: "10m" max-file: "3"