Where can I put the configuration.yml if redmine is installed on synology nas with dockers? nas with dockers?

Added by AnatoliyIT AnatoliyIT almost 2 years ago

Hi, where can I put the configuration.yml if redmine is installed on synology nas with dockers? nas with dockers?
Can somebody help?
Synology 918+

Replies (4)

RE: Where can I put the configuration.yml if redmine is installed on synology nas with dockers? nas with dockers? - Added by Martin Loučka almost 2 years ago

Hi, I have Redmine running on Synology DS218+ in Docker. The exact path really depends on which Docker image you use as there are multiple options which have the Redmine installation in different locations - e.g. /usr/src/redmine, /home/redmine/redmine etc. The configutation.yml then resides in [redmine install dir]/config/configuration.yml. I would say it's best for you to launch a new terminal on your Docker container and pwd the current workdir to see where the current Redmine installation is. Then you will be able to determine the full configuration.yml path.

Best,
Martin

RE: Where can I put the configuration.yml if redmine is installed on synology nas with dockers? nas with dockers? - Added by AnatoliyIT AnatoliyIT almost 2 years ago

My knowledge is not enough to run the terminal. There are no clear instructions without studying a huge amount of information. I'm looking for a simple project management program. Redmine doesn't quite meet my requirements. During the tests, I gave it up.

Thanks

RE: Where can I put the configuration.yml if redmine is installed on synology nas with dockers? nas with dockers? - Added by AnatoliyIT AnatoliyIT almost 2 years ago

Shared files on the screen.Through search there is no "configuration.yml". There's a "/docker/redmine/tmp/bundle/ruby/2.3.0/gems/mysql2-0.4.10/spec/configuration.yml.example".

RE: Where can I put the configuration.yml if redmine is installed on synology nas with dockers? nas with dockers? - Added by Martin Loučka almost 2 years ago

OK I understand that you gave up. But just brief explanation of what you are getting:

1. In the DSM you are looking at host file system (i.e. the volume in your Synology which hosts the docker container). You are using sameersbn/redmine image (I have experience with that as well) which is linked to you host file system but I guess that your host directory "/docker/redmine/" points to "/home/redmine/data" in the actual container file system. In the container there is whole other linux system running (in this case Ubuntu Xenial) which has its own file structure and is only linked with the host fs on one point.

2. So what you are looking for is configutation.yml in the container file system, which can be accessed via PuTTY (host is the IP of your Synology, then docker exec -it {name of running redmine container} bash), or via terminal in the Docker app in DSM (you open Docker, tab Containers, show details of the running redmine container, click on Terminal tab and Create new terminal). If you have your configuration.yml ready, you can copy it via File Station to "/docker/redmine" and then in the Terminal you can copy it to the final location: cp /home/redmine/data/configuration.yml /home/redmine/redmine/config/. (Presuming you have the same directory structure as I do.)

3. But you should refer the image manual because I do not think it is necessary to manually configure the configuration.yml, the Sameersbn image has many configuration options available through Docker interface and generates the configuration files automatically. I believe that when you double click the downloaded image (on your screenshot) then Docker invites you to enter config data, such as Name and Advanced options - there you can provide additional configuration such as database etc. The same can be done via Edit button in containers list but you have to stop it if it is already running.

Hopefully it helps you a bit!

Best,
Martin

(1-4/4)