# 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
cd
git clone --recursive https://framagit.org/oxyta.net/docker-atelier.git
cd docker-atelier
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:
- dev
- prod with letsencrypt (look at the README first)
- prod with your certificates (look at the README first)
echo "export CHATONS_DOMAIN=oxyta.net" >> .bashrc
echo "export ACME_EMAIL=acme@${CHATONS_DOMAIN}" >> .bashrc
. .bashrc
- nextcloud (in the
cloud/
folder) - etherpad (in the
pad/
folder) - oxyta.net's homepage (in the
homepage/
folder)