mirror of
https://github.com/nickyeoman/docker-compose-cookbooks.git
synced 2026-09-03 18:36:22 +00:00
removed old bash scripts
This commit is contained in:
@@ -4,7 +4,7 @@
|
||||
|
||||
👤 Author: [Nick Yeoman](https://www.nickyeoman.com/).
|
||||
|
||||
These cookbooks are created with the intent of using Docker's extend feature. This way, you can run multiple containers in different domains but still have only one file to update.
|
||||
Production ready docker compose files
|
||||
|
||||
## 🤔 Assumptions
|
||||
|
||||
@@ -22,34 +22,4 @@ The intended workflow is as follows:
|
||||
|
||||
You will likely want to override a number of things in the project folder, such as networks.
|
||||
|
||||
## 🔍 Example Result
|
||||
|
||||
Here is an example of how your project's docker-compose file might look:
|
||||
|
||||
```yaml
|
||||
services:
|
||||
proxy:
|
||||
extends:
|
||||
file: ${COOKBOOK}/nginx-proxy-manager/docker-compose.yml
|
||||
service: proxy
|
||||
env_file:
|
||||
- .env
|
||||
networks:
|
||||
- proxy
|
||||
|
||||
networks:
|
||||
proxy:
|
||||
external: true
|
||||
```
|
||||
|
||||
with the .env file:
|
||||
|
||||
```text
|
||||
COOKBOOK=/docker-compose-cookbooks
|
||||
COMPOSE_PROJECT_NAME=www-4lt-ca
|
||||
TZ=America/Vancouver
|
||||
VOL_CONFIG_PATH=/websites/www-4lt-ca/config
|
||||
VOL_PATH=/websites/www-4lt-ca/data
|
||||
```
|
||||
|
||||
Now use ```docker compose up -d``` to start the project.
|
||||
|
||||
Reference in New Issue
Block a user