semaphore
semaphore copied to clipboard
db data does not survive to 'docker-compose down'
i'm tried to run semaphore with docker-compose up -d
instead of docker-compose up
but every time i stop it using the docker-compose down
command, all data are lost.
instead, there is no problem using docker-compose up
and stopping it
am i missing something or doing something wrong ?
tnks for your help
In the docker-compose.yml, you will need to setup a volume to store the data somewhere persistent as the comment indicates: https://github.com/ansible-semaphore/semaphore/blob/develop/deployment/docker/ci/docker-compose.yml#L11-L13=