- Use docker-compose to run Redmine with persistent storage
- Use a named volume for the storage
- Use a database server rather than Redmine's default sqlite
- Add adminer to the configuration so the database can be inspected
- Documentation: https://docs.docker.com/compose/compose-file/
docker-compose up
will start the containers defined indocker-compose.yml
- Passing the
-d
flag will cause the containers to be ran on the background
- Passing the
docker-compose down
will stop the containers defined indocker-compose.yml
- Short template docker-compose.yml:
version: '3' services: # This is what the container will be called SERVICE_NAME_HERE: image: IMAGE_NAME_HERE # Add other parameters as needed # Add other services as needed
- Use named volumes for implementing persistent storage
- Look for help on how to use the images from their dockerhub page