services: clickhouse: image: xx:24.5.1 container_name: clickhouse restart: always environment: CLICKHOUSE_USER: 'default' CLICKHOUSE_PASSWORD: 'xxxxxxx' CLICKHOUSE_DEFAULT_ACCESS_MANAGEMENT: '1' networks: - srebro ports: - "8123:8123" - "9000:9000" volumes: - /home/application/Database/clickhouse/log:/var/log/clickhouse-server - /home/application/Database/clickhouse/data:/var/lib/clickhouse networks: srebro: external: true