services: surrealdb: image: surrealdb/surrealdb:latest container_name: surrealdb-wrbapp ports: - 8000:8000 volumes: - ./database:/data user: "${UID}:${GID}" entrypoint: - /surreal - start - --user - "root" - --pass - "root" - rocksdb:/data/database.db