Skip to content

simlau/foundry

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Setup

apt update
apt upgrade
apt install docker.io
apt install docker-compose
apt install apache2-utils

Add A records for

  • traefik.simlau.dk
  • ddb-proxy.simlau.dk
  • foundry.simlau.dk

Create user for running Foundry

useradd -m -s /bin/bash simlau
usermod -a -G docker simlau

Configure Traefik

su - simlau
mkdir -p traefik
cd traefik

# Add empty file for Lets Encrypt
touch acme.json
chmod 600 acme.json

Configure user for Traefik dashboard

Run htpasswd -nb admin PASSWORD.

Set user and password for Traefik, note the extra $ in front of the encrypted password.

traefik.http.middlewares.authtraefik.basicauth.users=admin:$$encrypted

Start foundry

docker network create proxy
docker-compose up

Configure backup job

# Login as user
su - simalu

# Configure backup job
crontab -l > cron
echo "0 0 * * WED /home/simlau/backup.sh" >> cron
crontab cron
rm cron

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Shell 100.0%