Some usefull services to manage a server running only container, mostly for developpement purpose
- Traefik: A powerful reverse proxy
- Portainer: A powerful container management tool
- Syncthing: Cloud synchronisation (used mainly for backuping)
- Radicale: A Free and Open-Source CalDAV and CardDAV Server
This is simple, just :
- git clone the repository
- copy the
.env.dist
file into.env
- edit the
.env
file with your own requirements - and start it with
make up
This configuration create a global docker network on which you will connect all container that needs to be accessible through your reverse proxy.
See the Traefik Documentation on how to configure you container.
By default, portainer
and traefik
will be accessible throught the .local
domain like portainer.local
and traefik.local
. You can change it with the SERVICES_DOMAIN
variable in the .env
file.
To test the wordpress sample, from the project root, launch:
$> docker-compose -f wordpress.sample/docker-compose.yml -d
Like this, it will use the same .env
file as the main configuration.
You will then be able to access wordpress at http://wordpress.local
List of environment variable defined in the .env file
Unique global network name that will be used by the reverse proxy. All services which needs to be exposed through the Traefik should join this network.
NETWORK_NAME=traefik_proxy
Host name shared by the main services
SERVICES_DOMAIN=services.local
Global hostname extension used for other services.
This mean that a service 'radicale' will be accessible at 'radicale.${MAIN_DOMAIN}'
MAIN_DOMAIN=local
This volume is shared to other services which require data to be synchronised / backuped on a remote host
SYNCTHING_VOLUME_NAME=syncthing_data