services: website: image: ${AUTOLIBRARY_IMAGE:?Set AUTOLIBRARY_IMAGE} user: "${AUTOLIBRARY_UID:-10001}:${AUTOLIBRARY_GID:-10001}" network_mode: host environment: AUTOLIBRARY_HTTP_PORT: "${AUTOLIBRARY_HTTP_PORT:-3003}" restart: unless-stopped stop_grace_period: 20s read_only: true tmpfs: - /tmp:mode=1777 cap_drop: - ALL security_opt: - no-new-privileges:true volumes: - type: bind source: ${AUTOLIBRARY_CONFIG:?Set AUTOLIBRARY_CONFIG} target: /app/config.json read_only: true bind: create_host_path: false - type: bind source: ${AUTOLIBRARY_DATA_DIR:?Set AUTOLIBRARY_DATA_DIR} target: /app/backend/data bind: create_host_path: false - type: bind source: ${AUTOLIBRARY_LOG_DIR:?Set AUTOLIBRARY_LOG_DIR} target: /app/logs bind: create_host_path: false