Merge branch 'main' of code.criminallycute.fi:thordinary/docker-compose into thinkcentre

This commit is contained in:
Thord Johansson 2023-12-03 16:38:38 +01:00
commit 0c73fde2c8
6 changed files with 133 additions and 33 deletions

View File

@ -0,0 +1,26 @@
version: '3.5'
services:
jellyfin:
image: jellyfin/jellyfin
container_name: jellyfin
#user: 1000:1000
network_mode: 'host'
volumes:
- /mnt/data/storage/jellyfin/config:/config
- /mnt/data/storage/jellyfin/cache:/cache
- /mnt/data/media:/media
#ports:
# - "8096:8096/tcp"
# - "8920:8920/tcp"
# - "1900:1900/udp"
# - "7359:7359/udp"
restart: 'unless-stopped'
# Optional - alternative address used for autodiscovery
#environment:
# - JELLYFIN_PublishedServerUrl=http://example.com
# Optional - may be necessary for docker healthcheck to pass if running in host network mode
extra_hosts:
- "host.docker.internal:host-gateway"

View File

@ -1,25 +0,0 @@
version: '3.3'
services:
minecraft-server:
volumes:
- serverdata:/data
environment:
- TYPE=FORGE
- MEMORY=4G
- VERSION=1.18.2
- FORGE_VERSION=40.1.93
- EULA=TRUE
- MOTD=Hej och välkommen!
ports:
- '25565:25565'
container_name: minecraft
image: itzg/minecraft-server
volumes:
serverdata:
driver_opts:
type: "nfs"
o: "addr=192.168.1.100,nfsvers=4,retrans=6"
device: ":/mnt/data/storage/minecraft"

View File

@ -1,8 +0,0 @@
version: '3.3'
services:
opentts:
container_name: opentts
ports:
- '5500:5500'
image: 'synesthesiam/opentts:all'
command: --no-espeak --cache

View File

@ -0,0 +1,59 @@
# docker-compose file for running paperless from the Docker Hub.
# This file contains everything paperless needs to run.
# Paperless supports amd64, arm and arm64 hardware.
#
# All compose files of paperless configure paperless in the following way:
#
# - Paperless is (re)started on system boot, if it was running before shutdown.
# - Docker volumes for storing data are managed by Docker.
# - Folders for importing and exporting files are created in the same directory
# as this file and mounted to the correct folders inside the container.
# - Paperless listens on port 8000.
#
# SQLite is used as the database. The SQLite file is stored in the data volume.
#
# To install and update paperless with this file, do the following:
#
# - Copy this file as 'docker-compose.yml' and the files 'docker-compose.env'
# and '.env' into a folder.
# - Run 'docker-compose pull'.
# - Run 'docker-compose run --rm webserver createsuperuser' to create a user.
# - Run 'docker-compose up -d'.
#
# For more extensive installation and update instructions, refer to the
# documentation.
version: "3.4"
services:
broker:
image: docker.io/library/redis:7
restart: unless-stopped
volumes:
- redisdata:/data
webserver:
image: ghcr.io/paperless-ngx/paperless-ngx:latest
restart: unless-stopped
depends_on:
- broker
ports:
- "8000:8000"
healthcheck:
test: ["CMD", "curl", "-fs", "-S", "--max-time", "2", "http://localhost:8000"]
interval: 30s
timeout: 10s
retries: 5
volumes:
- data:/usr/src/paperless/data
- media:/usr/src/paperless/media
- ./export:/usr/src/paperless/export
- ./consume:/usr/src/paperless/consume
env_file: docker-compose.env
environment:
PAPERLESS_REDIS: redis://broker:6379
volumes:
data:
media:
redisdata:

34
pihole/docker-compose.yml Normal file
View File

@ -0,0 +1,34 @@
version: "3.8"
# More info at https://github.com/pi-hole/docker-pi-hole/ and https://docs.pi-hole.net/
services:
pihole:
container_name: pihole
image: pihole/pihole:latest
# For DHCP it is recommended to remove these ports and instead add: network_mode: "host"
network_mode: host
#ports:
#- "53:53/tcp"
#- "53:53/udp"
#- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
#- "8081:80/tcp"
environment:
WEB_PORT: 8081
TZ: 'Europe/Stockholm'
# WEBPASSWORD: 'set a secure password here or it will be random'
# Volumes store your data between container upgrades
volumes:
- '/mnt/data/storage/pihole/etc-pihole:/etc/pihole'
- '/mnt/data/storage/pihole/etc-dnsmasq.d:/etc/dnsmasq.d'
# https://github.com/pi-hole/docker-pi-hole#note-on-capabilities
cap_add:
- NET_ADMIN # Required if you are using Pi-hole as your DHCP server, else not needed
restart: unless-stopped
# networks:
# - proxy
#networks:
# default:
# external: true
# proxy:
# external: true

View File

@ -0,0 +1,14 @@
version: '3.3'
services:
server:
container_name: vaultwarden
volumes:
- /mnt/data/storage/vaultwarden:/data
ports:
- '5080:80'
image: 'vaultwarden/server:latest'
networks:
- proxy
networks:
proxy:
external: true