一个灵活的 Docker 组合模板,可使用 Traefik 和 Authelia 托管各种应用程序,重点是媒体流。
一个灵活的 Docker 组合模板,可使用 Traefik 和 Authelia 托管各种应用程序,重点是媒体流。
A template compose.yaml to self host various applications on a server/VPS using Docker Compose with Traefik as a reverse proxy, using Authelia for authentication.
This is a template, so feel free to edit it by removing or adding services as you see fit.
You can use the Always Free resources of Oracle to set this up. Here is a set up guide I made for that.
A full start-to-finish guide, which assumes you start from scratch, can be found on my site here. It will go through setting up an Oracle VPS for free, installing Docker, and then a guide on using this compose.yaml.
This is the general guide:
Prerequisites:
cd /opt
git clone https://github.com/Viren070/docker-compose-vps-template.git docker
cd docker
.env file in the apps folder. You can use nano, but I recommend using either XPipe or VS Code (with the Remote - SSH extension) to edit the files. nano .env
required profile only and running the following command to start Authelia and Traefik:docker compose --profile required up -d
profiles to the COMPOSE_PROFILES environment variable or use the all profile and fill in any other .env files if they exist for the services you want to use.pwd and ensuring it returns /opt/docker/apps) and run this command to start all the services (according to your profiles in the .env)docker compose up -d
COMPOSE_PROFILES environment variable in the .env file, otherwise none of the services will startdocker compose --profile seanime restart or docker compose --profile seanime logscloudflare-ddns profile, you will need to manually create A records for each service you want to use using the subdomain in the .env file. 暂无开放 Issues,或尚未同步最近议题。