Skip to content

dbclkh/itotko

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Repository for itotko.dk

Itotko-master

This project is for the Drupal 8 website, itotko.dk. The site is running on a Docker Swarm setup with 3 Raspberry Pi's. You can find the docker images on my docker hub repository

Docker Swarm Usage

You need to start up the service on the master (Change the variables with < and > ):

docker service create \
  --mode replicated \
  --replicas 0 \
  --name <your service name> \
  --network <your network name> \
  --endpoint-mode dnsrr \
  -e DB=<your dbname> -e USERNAME=<your dbusername> \
  -e PASSWORD=<your dbpassword> -e HOST=<your dbhost> -e PORT=<your dbport> \
  larskhansen/itotko-dk

The replicas needs to be increased when the the service has been created. The environment variables are used for a connection to a mySQL/mariaDB database.

Note: This is a great website if you want to learn more about Docker Swarm and HA-Proxy.

About

Repo for itotko

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 89.9%
  • Dockerfile 7.3%
  • Shell 2.8%