services: couchdb: image: ${IMAGE_TAG:-couchdb:3.5} container_name: couchdb restart: unless-stopped ports: - 5984:5984 volumes: - ./etc/couchdb/local.d:/opt/couchdb/etc/local.d - ./couchdb:/opt/couchdb/data environment: TZ: Asia/Shanghai PUID: 99 PGID: 100 UMASK: 0022 COUCHDB_USER: your_custom_user COUCHDB_PASSWORD: your_strong_password