Updated compose files for local storage and removed all NFS mounts, removed unused mycroft and openvscode

This commit is contained in:
Thord Johansson 2023-03-10 13:19:54 +01:00
parent 4222b2f9a7
commit 5e5f3e3e01
10 changed files with 23 additions and 159 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

@ -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}

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

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
@ -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

@ -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