diff --git a/jellyfin/docker-compose.yml b/jellyfin/docker-compose.yml new file mode 100644 index 0000000..d772768 --- /dev/null +++ b/jellyfin/docker-compose.yml @@ -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" + diff --git a/minecraft/docker-compose.yml b/minecraft/docker-compose.yml deleted file mode 100644 index 242428e..0000000 --- a/minecraft/docker-compose.yml +++ /dev/null @@ -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" - diff --git a/opentts-server/docker-compose.yml b/opentts-server/docker-compose.yml deleted file mode 100644 index 7357ff4..0000000 --- a/opentts-server/docker-compose.yml +++ /dev/null @@ -1,8 +0,0 @@ -version: '3.3' -services: - opentts: - container_name: opentts - ports: - - '5500:5500' - image: 'synesthesiam/opentts:all' - command: --no-espeak --cache diff --git a/paperless-ngx/docker-compose.yml b/paperless-ngx/docker-compose.yml new file mode 100644 index 0000000..9f9e01f --- /dev/null +++ b/paperless-ngx/docker-compose.yml @@ -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: diff --git a/pihole/docker-compose.yml b/pihole/docker-compose.yml new file mode 100644 index 0000000..41471d8 --- /dev/null +++ b/pihole/docker-compose.yml @@ -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 diff --git a/vaultwarden/docker-compose.yml b/vaultwarden/docker-compose.yml new file mode 100644 index 0000000..741582f --- /dev/null +++ b/vaultwarden/docker-compose.yml @@ -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