diff --git a/docker-compose.yml b/docker-compose.yml index c2b642201b..7cb8857692 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -40,6 +40,8 @@ services: DB_MODE: pg NEED_START: yes command: ["/usr/sbin/init"] + volumes: + - ./storage/db/kingbase:/home/kingbase/userdata postgres: image: postgres:latest restart: always