services: hop: image: hop.noname.company:latest # This image is built on the NAS; it is not published in a registry. pull_policy: never build: context: . dockerfile: Dockerfile container_name: hop restart: unless-stopped env_file: .env environment: NODE_ENV: production HOST: 0.0.0.0 PORT: ${HOP_CONTAINER_PORT:?배포 시 내부 포트를 지정하세요} APP_URL: ${APP_URL:?서비스 HTTPS 주소를 지정하세요} ports: - '${HOP_BIND_IP:?접속을 허용할 호스트 IP를 지정하세요}:${HOP_HOST_PORT:?충돌 없는 호스트 포트를 지정하세요}:${HOP_CONTAINER_PORT:?내부 포트를 지정하세요}' volumes: - hop_database:/data/database - hop_uploads:/data/uploads networks: - hop_network stop_grace_period: 30s logging: driver: json-file options: max-size: 10m max-file: '3' volumes: hop_database: name: hop_hop_database hop_uploads: name: hop_hop_uploads networks: hop_network: driver: bridge