![]() ![]() I would also put non-Dockerized projects in the /srv folder too because there’s nothing Docker specific about this decision. I like this strategy because it keeps things together and well organized. env file and even your application’s source code depending on how you plan to deploy it. So if you had a project called todolist, you would end up with /srv/todolist and inside of there you could have your docker-compose.yml. For example I prefer using Ubuntu and Debian in production, and according to Debian’s Filesystem Hierarchy Standard (FHS), one reasonable place for it to go would be in the /srv folder. This is really a Linux distribution specific question. Should it go in /opt, /var/www, /srv, ~/ or somewhere else? Let’s say you have 1 or more Docker Compose projects that you plan to run on a VPS such as DigitalOcean, but really it could be anywhere. ![]() Updated on January 15th, 2019 in #docker Docker Tip #76: Where to Put Docker Compose Projects on a Server? So, you're thinking about deploying a Docker Compose project, but where does the docker-compose.yml file go on your file system? ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |