Criminally Cute Docker Compose
Go to file
Siina Mashek 3bec547d48 Ignoring .env 2022-12-25 03:06:49 +02:00
flarum Initial commit 2022-12-25 03:05:38 +02:00
jellyfin Initial commit 2022-12-25 03:05:38 +02:00
nginx-proxy-manager Initial commit 2022-12-25 03:05:38 +02:00
pihole Initial commit 2022-12-25 03:05:38 +02:00
.gitignore Ignoring .env 2022-12-25 03:06:49 +02:00
README.adoc Initial commit 2022-12-25 03:05:38 +02:00

Portainer

Start Portainer (adjust BASE_DATA_DIR):

docker run -d \
  -p 8000:8000 \
  -p 9443:9443 \
  --name portainer \
  --restart=always \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v ${BASE_DATA_DIR}/portainer/data:/data \
  portainer/portainer-ce:latest

Start portainer agent on any remote host (adjust BASE_DATA_DIR):

docker run -d \
  -p 9001:9001 \
  --name portainer_agent \
  --restart=always \
  -v /var/run/docker.sock:/var/run/docker.sock \
  -v ${BASE_DATA_DIR}:/var/lib/docker/volumes \
  portainer/agent:latest

Required Environment Variables

Copy .env-example to .env in the desired stack or fill out in portainer.

Important
Each service will append the stack name to BASE_DATA_DIR

Flarum

BASE_DATA_DIR=
MYSQL_ROOT_PASSWORD=
MYSQL_DATABASE=
MYSQL_PASSWORD=

Jellyfin

BASE_DATA_DIR=
JELLYFIN_PublishedServerUrl=
MUSIC_DIR=
VIDEO_DIR=

NGINX Proxy Manager

BASE_DATA_DIR=

Pi-hole

BASE_DATA_DIR=
TZ=
WEBPASSWORD=