Skip to content

MarcPartensky/Docker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker

Heimdall Portal

Visit my cloud!

Over 150 docker compose files are in the services folder.

Domains

Reverse proxy

The docker-compose.yml configuration is compatible with the following reverse-proxies:

  • traefik
  • caddy
  • nginx

Run few services at once

  • Example : run a monero node
docker-compose -f services/monero-node.yml up -d
  • Example : run multiple a wordpress website behind a proxy
# create a global network
docker network create --attachable caddy # add '--driver overlay' for swarm
# then deploy both services
docker-compose -f services/caddy.yml -f services/wordpress.yml up -d

Deploy lots of services at once

  • Select your services by putting those in ./env/vps.txt
nvim ./env/vps.txt
  • Generate a ./stack/docker-compose.yml with all merged configurations
./bin/docker-setup.sh merge vps # or make merge
  • Deploy
# as a swarm stack
docker stack deploy -c ./stack/docker-compose.yml vps # or make mswarm

# or using docker-compose
docker-compose -f ./stacks/docker-compose.yml up -d 

Links

vpn