name: hop services: hop: image: hop.noname.company:latest # Rebuild from source on deployment, even when the local image already exists. pull_policy: build build: context: . dockerfile: Dockerfile container_name: hop user: '${HOP_RUN_UID:-1000}:${HOP_RUN_GID:-10}' 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: - type: volume source: hop_database target: /data/database volume: nocopy: true - type: bind source: ./uploads target: /data/uploads bind: create_host_path: false 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 networks: hop_network: name: hop_hop_network driver: bridge