My server installation recipes
Find a file
2022-03-05 14:59:24 +01:00
0 fix network config 2021-12-12 18:31:50 +01:00
__doc__ update photo network 2022-01-05 20:39:12 +01:00
baikal network isolation 2021-12-12 12:02:11 +01:00
blog network isolation 2021-12-12 12:02:11 +01:00
deluge network isolation 2021-12-12 12:02:11 +01:00
dokuwiki network isolation 2021-12-12 12:02:11 +01:00
glances network isolation 2021-12-12 12:02:11 +01:00
netdata use service profiles 2022-03-05 14:59:24 +01:00
photo use service profiles 2022-03-05 14:59:24 +01:00
portainer network isolation 2021-12-12 12:02:11 +01:00
posteio use service profiles 2022-03-05 14:59:24 +01:00
seafile network isolation 2021-12-12 12:02:11 +01:00
selfoss fix selfoss issue with CURL and SSL certificates 2022-01-29 21:48:52 +01:00
shaarli network isolation 2021-12-12 12:02:11 +01:00
traefik use service profiles 2022-03-05 14:59:24 +01:00
wallabag network isolation 2021-12-12 12:02:11 +01:00
www add dashy 2022-02-27 19:06:06 +01:00
.env.default add dashy 2022-02-27 19:06:06 +01:00
.gitignore Creation 2020-06-27 14:55:16 +02:00
README.md use service profiles 2022-03-05 14:59:24 +01:00

Hosting

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).

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:

  • 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:

network diag