adds user group ids

This commit is contained in:
Menno van Leeuwen 2024-11-15 23:37:46 +01:00
parent 39a62a239d
commit 9bd4259cf2
Signed by: vleeuwenmenno
SSH Key Fingerprint: SHA256:OJFmjANpakwD3F2Rsws4GLtbdz1TJ5tkQF0RZmF0TRE
15 changed files with 85 additions and 40 deletions

View File

@ -4,6 +4,8 @@ services:
container_name: radarr container_name: radarr
image: lscr.io/linuxserver/radarr:latest image: lscr.io/linuxserver/radarr:latest
environment: environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam - TZ=Europe/Amsterdam
ports: ports:
- 7878:7878 - 7878:7878
@ -18,6 +20,8 @@ services:
image: linuxserver/sonarr:latest image: linuxserver/sonarr:latest
container_name: sonarr container_name: sonarr
environment: environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam - TZ=Europe/Amsterdam
volumes: volumes:
- ./data/sonarr-config:/config - ./data/sonarr-config:/config
@ -31,6 +35,8 @@ services:
lidarr: lidarr:
image: linuxserver/lidarr:latest image: linuxserver/lidarr:latest
environment: environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam - TZ=Europe/Amsterdam
ports: ports:
- 8686:8686 - 8686:8686
@ -44,6 +50,8 @@ services:
whisparr: whisparr:
image: ghcr.io/hotio/whisparr:latest image: ghcr.io/hotio/whisparr:latest
environment: environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam - TZ=Europe/Amsterdam
ports: ports:
- 8386:8686 - 8386:8686
@ -58,6 +66,8 @@ services:
container_name: prowlarr container_name: prowlarr
image: linuxserver/prowlarr:latest image: linuxserver/prowlarr:latest
environment: environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam - TZ=Europe/Amsterdam
volumes: volumes:
- ./data/prowlarr-config:/config - ./data/prowlarr-config:/config
@ -71,6 +81,8 @@ services:
image: ghcr.io/flaresolverr/flaresolverr:latest image: ghcr.io/flaresolverr/flaresolverr:latest
container_name: flaresolverr container_name: flaresolverr
environment: environment:
- PUID=1000
- PGID=1000
- LOG_LEVEL=${LOG_LEVEL:-info} - LOG_LEVEL=${LOG_LEVEL:-info}
- LOG_HTML=${LOG_HTML:-false} - LOG_HTML=${LOG_HTML:-false}
- CAPTCHA_SOLVER=${CAPTCHA_SOLVER:-none} - CAPTCHA_SOLVER=${CAPTCHA_SOLVER:-none}

View File

@ -8,6 +8,7 @@
./sabnzbd.nix ./sabnzbd.nix
./gitea.nix ./gitea.nix
./golink.nix ./golink.nix
./plex.nix
]; ];
} }
# TODO: Import all the package modules, disabled for testing one by one. # TODO: Import all the package modules, disabled for testing one by one.

View File

@ -3,8 +3,8 @@ services:
app: app:
image: lscr.io/linuxserver/duplicati:latest image: lscr.io/linuxserver/duplicati:latest
environment: environment:
- PUID=1000 - PUID=1
- PGID=1000 - PGID=1
- TZ=Europe/Amsterdam - TZ=Europe/Amsterdam
- CLI_ARGS= - CLI_ARGS=
volumes: volumes:

View File

@ -16,6 +16,8 @@ services:
container_name: "factorio-server-manager" container_name: "factorio-server-manager"
restart: "unless-stopped" restart: "unless-stopped"
environment: environment:
- PUID=1000
- PGID=1000
- "FACTORIO_VERSION=stable" - "FACTORIO_VERSION=stable"
- "RCON_PASS=458fc84534" - "RCON_PASS=458fc84534"
ports: ports:

View File

@ -15,6 +15,9 @@ services:
server: server:
image: gitea/gitea:latest image: gitea/gitea:latest
restart: always restart: always
environment:
- PUID=1000
- PGID=1000
volumes: volumes:
- /mnt/services/gitea/gitea:/data - /mnt/services/gitea/gitea:/data
- /etc/timezone:/etc/timezone:ro - /etc/timezone:/etc/timezone:ro
@ -29,6 +32,8 @@ services:
image: postgres:15-alpine image: postgres:15-alpine
restart: always restart: always
environment: environment:
- PUID=1000
- PGID=1000
- POSTGRES_USER=gitea - POSTGRES_USER=gitea
- POSTGRES_PASSWORD=gitea - POSTGRES_PASSWORD=gitea
- POSTGRES_DB=gitea - POSTGRES_DB=gitea
@ -43,10 +48,12 @@ services:
- ./act-runner-config.yaml:/config.yaml - ./act-runner-config.yaml:/config.yaml
- /var/run/docker.sock:/var/run/docker.sock - /var/run/docker.sock:/var/run/docker.sock
environment: environment:
- GITEA_INSTANCE_URL=https://git.mvl.sh - PUID=1000
- GITEA_RUNNER_REGISTRATION_TOKEN=lIlte9POlu7aBanhCh3Xm1SPfohrexyfxqs9Yiqz - PGID=1000
- GITEA_RUNNER_NAME=act-worker - GITEA_INSTANCE_URL=https://git.mvl.sh
- CONFIG_FILE=/config.yaml - GITEA_RUNNER_REGISTRATION_TOKEN=lIlte9POlu7aBanhCh3Xm1SPfohrexyfxqs9Yiqz
- GITEA_RUNNER_NAME=act-worker
- CONFIG_FILE=/config.yaml
restart: always restart: always
networks: networks:
- net - net

View File

@ -3,6 +3,8 @@ services:
server: server:
image: ghcr.io/tailscale/golink:main image: ghcr.io/tailscale/golink:main
environment: environment:
- PUID=1000
- PGID=1000
- TS_AUTHKEY=${TS_AUTHKEY} - TS_AUTHKEY=${TS_AUTHKEY}
volumes: volumes:
- /mnt/services/golink:/home/nonroot - /mnt/services/golink:/home/nonroot

View File

@ -15,6 +15,9 @@ services:
depends_on: depends_on:
- redis - redis
- database - database
environment:
- PUID=1000
- PGID=1000
restart: always restart: always
healthcheck: healthcheck:
disable: false disable: false
@ -45,6 +48,8 @@ services:
container_name: immich_postgres container_name: immich_postgres
image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0 image: docker.io/tensorchord/pgvecto-rs:pg14-v0.2.0@sha256:90724186f0a3517cf6914295b5ab410db9ce23190a2d9d0b9dd6463e3fa298f0
environment: environment:
PUID: 1000
PGID: 1000
POSTGRES_PASSWORD: ${DB_PASSWORD} POSTGRES_PASSWORD: ${DB_PASSWORD}
POSTGRES_USER: ${DB_USERNAME} POSTGRES_USER: ${DB_USERNAME}
POSTGRES_DB: ${DB_DATABASE_NAME} POSTGRES_DB: ${DB_DATABASE_NAME}

View File

@ -25,6 +25,8 @@ services:
- "19132:19132/udp" - "19132:19132/udp"
- "3456:8100/tcp" - "3456:8100/tcp"
environment: environment:
PUID: 1000
PGID: 1000
EULA: "TRUE" EULA: "TRUE"
TYPE: "paper" TYPE: "paper"
VERSION: 1.21.1 VERSION: 1.21.1

View File

@ -12,12 +12,14 @@ services:
capabilities: [gpu] capabilities: [gpu]
environment: environment:
- PUID=1000
- PGID=1000
- VERSION=docker - VERSION=docker
- PLEX_CLAIM=claim-sfTz4AWc_Uxhzfzz9fKS - PLEX_CLAIM=claim-sfTz4AWc_Uxhzfzz9fKS
- NVIDIA_VISIBLE_DEVICES=all - NVIDIA_VISIBLE_DEVICES=all
- NVIDIA_DRIVER_CAPABILITIES=compute,video,utility - NVIDIA_DRIVER_CAPABILITIES=compute,video,utility
volumes: volumes:
- ./data/plex:/config - /mnt/services/plex/plex:/config
- /mnt/movies:/movies - /mnt/movies:/movies
- /mnt/tvshows:/tvshows - /mnt/tvshows:/tvshows
- /mnt/music:/music - /mnt/music:/music
@ -27,9 +29,11 @@ services:
image: lscr.io/linuxserver/tautulli:latest image: lscr.io/linuxserver/tautulli:latest
container_name: tautulli container_name: tautulli
environment: environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam - TZ=Europe/Amsterdam
volumes: volumes:
- ./data/tautulli:/config - /mnt/services/plex/tautulli:/config
ports: ports:
- 8181:8181 - 8181:8181
restart: unless-stopped restart: unless-stopped

View File

@ -1,8 +1,10 @@
services: services:
sabnzbd: sabnzbd:
image: lscr.io/linuxserver/sabnzbd:latest image: lscr.io/linuxserver/sabnzbd:latest
container_name: sabnzbd container_name: sabnzbd
environment: environment:
- PUID=1000
- PGID=1000
- TZ=Europe/Amsterdam - TZ=Europe/Amsterdam
volumes: volumes:
- /mnt/services/sabnzbd:/config - /mnt/services/sabnzbd:/config

View File

@ -31,6 +31,8 @@ services:
- './data/certs/live/satisfactory.mvl.sh/fullchain.pem:/config/gamefiles/FactoryGame/Certificates/cert_chain.pem' - './data/certs/live/satisfactory.mvl.sh/fullchain.pem:/config/gamefiles/FactoryGame/Certificates/cert_chain.pem'
- './data/certs/live/satisfactory.mvl.sh/privkey.pem:/config/gamefiles/FactoryGame/Certificates/private_key.pem' - './data/certs/live/satisfactory.mvl.sh/privkey.pem:/config/gamefiles/FactoryGame/Certificates/private_key.pem'
environment: environment:
- PUID=1000
- PGID=1000
- MAXPLAYERS=4 - MAXPLAYERS=4
- ROOTLESS=false - ROOTLESS=false
- STEAMBETA=false - STEAMBETA=false

View File

@ -6,6 +6,8 @@ services:
ports: ports:
- "9999:9999" - "9999:9999"
environment: environment:
- PUID=1000
- PGID=1000
- STASH_STASH=/data/ - STASH_STASH=/data/
- STASH_GENERATED=/generated/ - STASH_GENERATED=/generated/
- STASH_METADATA=/metadata/ - STASH_METADATA=/metadata/

View File

@ -1,35 +1,37 @@
services: services:
gluetun: gluetun:
image: qmcgaw/gluetun:latest image: qmcgaw/gluetun:latest
container_name: gluetun container_name: gluetun
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
network_mode: bridge network_mode: bridge
ports: ports:
- 6881:6881 - 6881:6881
- 6881:6881/udp - 6881:6881/udp
- 8085:8085 - 8085:8085
volumes: volumes:
- /mnt/services/torrent/gluetun:/gluetun - /mnt/services/torrent/gluetun:/gluetun
environment: environment:
- VPN_SERVICE_PROVIDER=${VPN_SERVICE_PROVIDER} - PUID=1000
- OPENVPN_USER=${OPENVPN_USER} - PGID=1000
- OPENVPN_PASSWORD=${OPENVPN_PASSWORD} - VPN_SERVICE_PROVIDER=${VPN_SERVICE_PROVIDER}
- SERVER_COUNTRIES=${SERVER_COUNTRIES} - OPENVPN_USER=${OPENVPN_USER}
restart: always - OPENVPN_PASSWORD=${OPENVPN_PASSWORD}
- SERVER_COUNTRIES=${SERVER_COUNTRIES}
restart: always
qbittorrent: qbittorrent:
image: lscr.io/linuxserver/qbittorrent image: lscr.io/linuxserver/qbittorrent
container_name: qbittorrent container_name: qbittorrent
network_mode: "service:gluetun" network_mode: "service:gluetun"
environment: environment:
- PUID=1000 - PUID=1000
- PGID=1000 - PGID=1000
- WEBUI_PORT=8085 - WEBUI_PORT=8085
volumes: volumes:
- "/etc/localtime:/etc/localtime:ro" - "/etc/localtime:/etc/localtime:ro"
- /mnt/services/torrent/qbit-config:/config - /mnt/services/torrent/qbit-config:/config
- /mnt:/storage - /mnt:/storage
depends_on: depends_on:
- gluetun - gluetun
restart: always restart: always

View File

@ -17,6 +17,8 @@ services:
cap_add: cap_add:
- NET_ADMIN - NET_ADMIN
environment: environment:
- PUID=1000
- PGID=1000
- PEERS=s24,pc,laptop - PEERS=s24,pc,laptop
volumes: volumes:
- /mnt/services/wireguard/data:/config - /mnt/services/wireguard/data:/config