Skip to content

Latest commit

 

History

History
62 lines (47 loc) · 1.68 KB

install.md

File metadata and controls

62 lines (47 loc) · 1.68 KB

Deploy your kittens

Install docker & docker-compose

# See https://docs.docker.com/engine/installation/linux/docker-ce/debian/#install-using-the-repository
apt install -y \
     apt-transport-https \
     ca-certificates \
     curl \
     git \
     gnupg2 \
     software-properties-common

curl -fsSL https://download.docker.com/linux/$(. /etc/os-release; echo "$ID")/gpg | apt-key add -

echo "deb [arch=amd64] https://download.docker.com/linux/$(. /etc/os-release; echo "$ID") \
      $(lsb_release -cs) stable" > /etc/apt/sources.list.d/docker.list

apt update && apt install -y docker-ce python3-pip

# install docker-compose
pip3 install docker-compose

# Start docker
systemctl start docker
systemctl enable docker

Add this repo

cd
git clone --recursive https://framagit.org/oxyta.net/docker-atelier.git
cd docker-atelier

Deploy the proxy

docker network create --ipv6 --subnet=fd00:dead:beef::/48 web

And then you can go in the proxy/ folder and in the environment you want:

Configure your domain name and email addresses

echo "export CHATONS_DOMAIN=oxyta.net" >> .bashrc
echo "export ACME_EMAIL=acme@${CHATONS_DOMAIN}" >> .bashrc
. .bashrc

Deploy the services you want

Configure mail

doc