Criminally Cute Docker Compose
Go to file
Siina Mashek 1f2f2f3f0d put opcache stuff in wrong spot 2024-02-08 01:01:22 +02:00
jellyfin updating jellyfin config 2023-07-24 16:22:55 +03:00
nextcloud put opcache stuff in wrong spot 2024-02-08 01:01:22 +02:00
nginx-proxy-manager re-adding nginx-proxy-manager 2023-07-24 17:30:46 +03:00
pihole Updating pihole docker config 2023-07-24 16:20:35 +03:00
woodpecker Adding some more environment vars for woodpecker 2022-12-27 04:00:24 +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=