mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-03 18:36:22 +00:00
Cleaned up all compose files
cleaned up all the files. they should now all work for multiple projects.
This commit is contained in:
@@ -1 +1,22 @@
|
||||
# docker-compose-cookbooks
|
||||
# Nick Yeoman's Collection of Docker compose files
|
||||
|
||||
Checkout [https://www.nickyeoman.com/](https://www.nickyeoman.com/) to learn more.
|
||||
|
||||
With the exception of traefik and portainer the process is pretty much the same.
|
||||
|
||||
The idea is to run all these services off of one host and they are setup so
|
||||
you can run multiple versions of any software just by changing the .env file
|
||||
|
||||
The process is:
|
||||
|
||||
1. cd ~/Git/docker-cookbooks/app-you-want-to-use
|
||||
1. cp env-sample .env
|
||||
1. vi .env
|
||||
1. PREFIX in .env should the project_name (for example nick_yeoman or ny)
|
||||
1. docker-compose -p project_name up -d
|
||||
|
||||
To create multiple projects is a little bit more tricky as you have to
|
||||
define new directories for the .env file.
|
||||
|
||||
To do this I've just been copying the app folder to a domain-name folder.
|
||||
Which isn't ideal, but I don't know how to do this more elegantly.
|
||||
|
||||
Reference in New Issue
Block a user