Compare commits

..

4 Commits

12 changed files with 53 additions and 167 deletions

View File

@ -1,12 +1,5 @@
version: '3.5'
volumes:
media:
driver_opts:
type: "nfs"
o: "addr=192.168.1.245,nolock,soft,rw"
device: ":/mnt/data/media"
services:
jellyfin:
image: jellyfin/jellyfin
@ -16,12 +9,7 @@ services:
volumes:
- ./config:/config
- ./cache:/cache
- type: volume
source: media
target: /media
volume:
nocopy: true
- /mnt/data/media:/media
#ports:
# - "8096:8096/tcp"

View File

@ -0,0 +1,22 @@
version: "2.1"
services:
librespeed:
image: lscr.io/linuxserver/librespeed:latest
container_name: librespeed
environment:
- PUID=1000
- PGID=1000
- TZ=Etc/UTC
- PASSWORD=PASSWORD
- CUSTOM_RESULTS=false #optional
- DB_TYPE=mysql #optional
- DB_NAME=${DB_NAME} #optional
- DB_HOSTNAME=${DB_HOSTNAME} #optional
- DB_USERNAME=${DB_USERNAME} #optional
- DB_PASSWORD=${DB_PASSWORD} #optional
- DB_PORT=${DB_PORT} #optional
volumes:
- /mnt/data/storage/librespeed/config:/config
ports:
- 8084:80
restart: unless-stopped

View File

@ -1,13 +1,5 @@
version: '3.1'
volumes:
data:
driver_opts:
type: "nfs"
o: "addr=192.168.1.245,nolock,soft,rw"
device: ":/mnt/data/mysql"
services:
db:
@ -16,11 +8,7 @@ services:
restart: always
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
volumes:
- type: volume
source: data
target: /var/lib/mysql
volume:
nocopy: false
- /mnt/data/mysql:/var/lib/mysql
environment:
- MARIADB_ROOT_PASSWORD=${MARIADB_ROOT_PASSWORD}
- MARIADB_DATABASE=${MARIADB_DATABASE}
@ -32,4 +20,4 @@ services:
image: adminer
restart: always
ports:
- 8081:8080
- 8082:8080

View File

@ -1,21 +1,9 @@
version: '3.3'
volumes:
mc-data:
driver_opts:
type: "nfs"
o: "addr=192.168.1.245,nolock,soft,rw"
device: ":/mnt/data/storage/minecraft"
services:
minecraft-server:
volumes:
# - ./data:/data
- type: volume
source: mc-data
target: /data
volume:
nocopy: true
- /mnt/data/storage/minecraft:/data
environment:
- TYPE=FORGE

View File

@ -1,27 +0,0 @@
version: '3'
services:
mycroft:
image: mycroft
container_name: mycroft
hostname: mycroft
restart: always
ports:
- 8181:8181
volumes:
- ./persisted:/root/.mycroft
- ./config:/root/.config/mycroft/
- ./skills:/opt/mycroft/skills
- ${HOME}/.config/pulse/cookie:/root/.config/pulse/cookie
- ${XDG_RUNTIME_DIR}/pulse/native:${XDG_RUNTIME_DIR}/pulse/native
- /etc/machine-id:/etc/machine-id
- /var/lib/dbus:/var/lib/dbus
environment:
- PULSE_SERVER=unix:${XDG_RUNTIME_DIR}/pulse/native
- XDG_RUNTIME_DIR=${XDG_RUNTIME_DIR}
devices:
- /dev/snd:/dev/snd
# - /dev/${SYSTEM_DEVICE_TTY}:/dev/${SYSTEM_DEVICE_TTY}
volumes:
skills:
driver: local

View File

@ -2,11 +2,6 @@ version: '2'
volumes:
app:
data:
driver_opts:
type: "nfs"
o: "addr=192.168.1.245,nolock,soft,rw"
device: ":/mnt/data/nextcloud"
services:
app:
@ -17,7 +12,7 @@ services:
- 8080:80
volumes:
- app:/var/www/html
- data:/var/www/html/data
- /mnt/data/nextcloud:/var/www/html/data
environment:
- MYSQL_PASSWORD=${MYSQL_PASSWORD}
- MYSQL_DATABASE=${MYSQL_DATABASE}
@ -28,3 +23,6 @@ networks:
default:
name: mariadb_default
external: true
proxy:
name: proxy
external: true

View File

@ -1,5 +1,7 @@
version: "3"
# Remember to run: docker network create proxy
networks:
proxy:
external: true
@ -9,7 +11,7 @@ services:
image: "jc21/nginx-proxy-manager:latest"
restart: always
ports:
- "80:80"
- "82:80"
- "443:443"
- "81:81"
environment:

View File

@ -1,10 +0,0 @@
version: '3.3'
services:
openvscode-server:
ports:
- '3000:3000'
volumes:
- '${DEV_HOME}:/home/workspace:cached'
image: gitpod/openvscode-server
container_name: openvscode
network_mode: host

View File

@ -26,23 +26,6 @@ version: '3.5'
# All commands may have to be prefixed with "sudo" when not running as root.
# This will point the home directory shortcut ~ to /root in volume mounts.
volumes:
originals:
driver_opts:
type: "nfs"
o: "addr=192.168.1.245,nolock,soft,rw"
device: ":/mnt/data/media/Photos/Originals"
import:
driver_opts:
type: "nfs"
o: "addr=192.168.1.245,nolock,soft,rw"
device: ":/mnt/data/media/Photos/Import"
storage:
driver_opts:
type: "nfs"
o: "addr=192.168.1.245,nolock,soft,rw"
device: ":/mnt/data/storage/photoprism"
services:
photoprism:
container_name: photoprism
@ -62,7 +45,7 @@ services:
PHOTOPRISM_ADMIN_USER: "admin" # superadmin username
PHOTOPRISM_ADMIN_PASSWORD: "insecure" # initial superadmin password (minimum 8 characters)
PHOTOPRISM_AUTH_MODE: "password" # authentication mode (public, password)
PHOTOPRISM_SITE_URL: "http://photoprism.me:2342/" # server URL in the format "http(s)://domain.name(:port)/(path)"
PHOTOPRISM_SITE_URL: "${SITE_URL}" # server URL in the format "http(s)://domain.name(:port)/(path)"
PHOTOPRISM_ORIGINALS_LIMIT: 5000 # file size limit for originals in MB (increase for high-res video)
PHOTOPRISM_HTTP_COMPRESSION: "gzip" # improves transfer speed and bandwidth utilization (none or gzip)
PHOTOPRISM_LOG_LEVEL: "info" # log level: trace, debug, info, warning, error, fatal, or panic
@ -81,10 +64,10 @@ services:
PHOTOPRISM_UPLOAD_NSFW: "true" # allows uploads that MAY be offensive (no effect without TensorFlow)
# PHOTOPRISM_DATABASE_DRIVER: "sqlite" # SQLite is an embedded database that doesn't require a server
PHOTOPRISM_DATABASE_DRIVER: "mysql" # use MariaDB 10.5+ or MySQL 8+ instead of SQLite for improved performance
PHOTOPRISM_DATABASE_SERVER: "mariadb-main" # MariaDB or MySQL database server (hostname:port)
PHOTOPRISM_DATABASE_NAME: "photoprism" # MariaDB or MySQL database schema name
PHOTOPRISM_DATABASE_USER: "photoprism" # MariaDB or MySQL database user name
PHOTOPRISM_DATABASE_PASSWORD: "H3,Q42:tU2M/k}" # MariaDB or MySQL database user password
PHOTOPRISM_DATABASE_SERVER: "${DATABASE_SERVER}" # MariaDB or MySQL database server (hostname:port)
PHOTOPRISM_DATABASE_NAME: "${DATABASE_NAME}" # MariaDB or MySQL database schema name
PHOTOPRISM_DATABASE_USER: "${DATABASE_USER}" # MariaDB or MySQL database user name
PHOTOPRISM_DATABASE_PASSWORD: "${DATABASE_PASSWORD}" # MariaDB or MySQL database user password
PHOTOPRISM_SITE_CAPTION: "AI-Powered Photos App"
PHOTOPRISM_SITE_DESCRIPTION: "" # meta site description
PHOTOPRISM_SITE_AUTHOR: "" # meta site author
@ -118,21 +101,9 @@ services:
# - "~/Import:/photoprism/import" # *Optional* base folder from which files can be imported to originals
# - "./storage:/photoprism/storage" # *Writable* storage folder for cache, database, and sidecar files (DO NOT REMOVE)
- type: volume
source: originals
target: /photoprism/originals
volume:
nocopy: true
- type: volume
source: import
target: /photoprism/import
volume:
nocopy: true
- type: volume
source: storage
target: /photoprism/storage
volume:
nocopy: true
- /mnt/data/media/Photos/Originals:/photoprism/originals
- /mnt/data/media/Photos/Import:/photoprism/import
- /mnt/data/storage/photoprism:/photoprism/storage
## -- (database server section removed; use separate mariadb container)

View File

@ -10,7 +10,7 @@ services:
- "53:53/tcp"
- "53:53/udp"
- "67:67/udp" # Only required if you are using Pi-hole as your DHCP server
- "8080:80/tcp"
- "8081:80/tcp"
environment:
TZ: 'Europe/Stockholm'
# WEBPASSWORD: 'set a secure password here or it will be random'

View File

@ -2,18 +2,6 @@
# APPDESCRIPTION=An organizer for your ****, written in Go
version: '3.4'
volumes:
content:
driver_opts:
type: "nfs"
o: "addr=192.168.1.245,nolock,soft,rw"
device: ":/mnt/data/storage/stash"
meta:
driver_opts:
type: "nfs"
o: "addr=192.168.1.245,nolock,soft,rw"
device: ":/mnt/data/storage/stash/.metadata"
services:
stash:
image: stashapp/stash:latest
@ -30,29 +18,18 @@ services:
max-file: "10"
max-size: "2m"
environment:
- STASH_STASH=/ext/data/
- STASH_GENERATED=/ext/generated/
- STASH_METADATA=/ext/metadata/
- STASH_CACHE=/ext/cache/
- STASH_STASH=data/
- STASH_GENERATED=generated/
- STASH_METADATA=metadata/
- STASH_CACHE=cache/
## Adjust below to change default port (9999)
- STASH_PORT=9999
volumes:
- /etc/localtime:/etc/localtime:ro
## Adjust below paths (the left part) to your liking.
## E.g. you can change ./config:/root/.stash to ./stash:/root/.stash
## Keep configs, scrapers, and plugins here.
- ./config:/root/.stash
## Point this at your collection.
#- ./data:/data
## This is where your stash's metadata lives
- ./metadata:/metadata
## Any other cache content.
- ./cache:/cache
## Where to store generated content (screenshots,previews,transcodes,sprites)
- ./generated:/generated
- type: volume
source: content
target: /data
volume:
nocopy: true
## E.g. you can change ./config:/root/.stash to ./stash:/root/.stash
- /mnt/data/storage/stash-meta/config:/root/.stash
- /mnt/data/storage/stash-meta/metadata:/metadata
- /mnt/data/storage/stash-meta/cache:/cache
- /mnt/data/storage/stash-meta/generated:/generated
- /mnt/data/storage/stash:/data

View File

@ -1,12 +1,5 @@
version: "2.1"
volumes:
download_data:
driver_opts:
type: "nfs"
o: "addr=192.168.1.245,nolock,soft,rw"
device: ":/mnt/data/downloads"
services:
transmission:
image: lscr.io/linuxserver/transmission:latest
@ -23,11 +16,7 @@ services:
- HOST_WHITELIST= #optional
volumes:
- ./data:/config
- type: volume
source: download_data
target: /downloads
volume:
nocopy: false
- /mnt/data/downloads:/downloads
ports:
- 9091:9091
- 51413:51413