javahuang / SurveyKing

Make a better survey system.
https://surveyking.cn
MIT License
3.34k stars 506 forks source link

我用docker compose搭了后,重启容器后数据不见了,是哪里有问题吗? #42

Closed winsphinx closed 10 months ago

winsphinx commented 1 year ago

我的compose.yml如下:

version: '3'
services:
  surveyking:
    image: surveyking/surveyking
    container_name: surveyking
    restart: unless-stopped
    environment:
      #- PUID=1000
      #- PGID=1000
    volumes:
      - ./files:/surveyking/files
      - ./logs:/surveyking/logs
    ports:
      - 1991:1991

我从docker内部查到就是这两个卷,还要涉及其他的吗?

I-Want-ToBelieve commented 4 months ago

@winsphinx 解决了吗