services: bytebase: container_name: ${CONTAINER_NAME} restart: always networks: - 1panel-network ports: - "${PANEL_APP_PORT_HTTP}:8080" volumes: - "${DATA_PATH}:/var/opt/bytebase" init: true environment: PG_URL: "postgresql://${PANEL_DB_USER}:${PANEL_DB_USER_PASSWORD}@${POSTGRES_HOST}:${POSTGRES_PORT}/${PANEL_DB_NAME}" healthcheck: test: ["CMD", "curl", "--fail", "http://localhost:8080/healthz"] interval: 5m timeout: 60s command: - "--data" - "/var/opt/bytebase" - "--port" - "8080" image: bytebase/bytebase:3.24.1 labels: createdBy: "Apps" networks: 1panel-network: external: true