Pull docker image first.
docker pull sameersbn/redmine:5.0.0
Download “docker-compose-sqlite3.yml”:https://github.com/sameersbn/docker-redmine/blob/master/docker-compose-sqlite3.yml
Following command will start redmine by using docker
sudo docker-compose up
Following command can login into above container
docker exec -it “Container” /bin/bash
How to reset the docker
This command will let docker down
sudo docker-compose down
Re-create a clear contain
sudo docker-compose up -d
Start docker again
sudo docker-compose up
Restart the web server inside the container
Following command can login into above container
docker exec -it “Container” /bin/bash
Following command will restart web server
sudo service nginx restart
Ref
https://quicknotepadtutorial.blogspot.com/2020/07/setting-up-redmine-with-docker-compose.html
https://github.com/sameersbn/docker-gitlab
0 意見:
張貼留言