Update doc
This commit is contained in:
parent
583ec495b1
commit
09fc19fb1f
1 changed files with 0 additions and 20 deletions
20
README.md
20
README.md
|
@ -1,23 +1,3 @@
|
||||||
# Hosting
|
# Hosting
|
||||||
|
|
||||||
My server installation recipes (Inspired from https://github.com/tomMoulard/make-my-server)
|
My server installation recipes (Inspired from https://github.com/tomMoulard/make-my-server)
|
||||||
|
|
||||||
Bash function to override docker-compose command and manage multiple docker-compose.yml files (non executable YAML files are ignored).
|
|
||||||
|
|
||||||
```bash
|
|
||||||
export DOCKER_COMPOSE_BIN='/usr/bin/docker compose'
|
|
||||||
docker-compose ()
|
|
||||||
{
|
|
||||||
$DOCKER_COMPOSE_BIN $(find -name 'docker-compose*.yml' -type f -perm -u+x -printf '%p\t%d\n' 2>/dev/null | sort -n -k2 | cut -f 1 | awk '{print "-f "$0}') $@
|
|
||||||
}
|
|
||||||
```
|
|
||||||
|
|
||||||
Compose files refer to [service profiles](https://docs.docker.com/compose/profiles/):
|
|
||||||
- disabled: set for services I don't use
|
|
||||||
- testing: enable SSL configuration relying on https://traefik.me for local testing
|
|
||||||
- production: enable domain configuration on deployment server
|
|
||||||
|
|
||||||
### Network diagram:
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue