Skip to content

Commit

Permalink
Fix docker perms
Browse files Browse the repository at this point in the history
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
  • Loading branch information
bensuperpc committed Sep 7, 2024
1 parent 6578de0 commit a265603
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 21 deletions.
15 changes: 3 additions & 12 deletions infrastructure/dufs/docker-compose.dufs.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,21 +12,12 @@ services:
env_file:
- ./dufs/env/dufs.env
volumes:
- dufs_data:/data
- qbittorrent_data:/data/torrent1:ro
- transmission_data:/data/torrent2:ro
- jellyfin_data_public:/data/jellyfin:ro
- public_data:/data
networks:
- infra-network
security_opt:
- no-new-privileges:true

volumes:
dufs_data:
name: dufs_data
transmission_data:
name: transmission_data
qbittorrent_data:
name: qbittorrent_data
jellyfin_data_public:
name: jellyfin_data_public
public_data:
name: public_data
7 changes: 4 additions & 3 deletions infrastructure/jellyfin/docker-compose.jellyfin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ services:
profiles:
- jellyfin
restart: on-failure:5
user: 1000:1000
depends_on:
- caddy
env_file:
Expand All @@ -16,7 +17,7 @@ services:
- jellyfin_data_series:/series:rw
- jellyfin_data_documentaries:/documentaries:rw
- jellyfin_data_musics:/musics:rw
- jellyfin_data_public:/public:rw
- public_data:/public:rw
- jellyfin_cache:/cache
# Hardware acceleration (For Intel and AMD GPUs)
devices:
Expand All @@ -37,7 +38,7 @@ volumes:
name: jellyfin_data_documentaries
jellyfin_data_musics:
name: jellyfin_data_musics
jellyfin_data_public:
name: jellyfin_data_public
public_data:
name: public_data
jellyfin_cache:
name: jellyfin_cache
1 change: 1 addition & 0 deletions infrastructure/psitransfer/docker-compose.psitransfer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ services:
profiles:
- psitransfer
restart: on-failure:5
user: 1000:1000
depends_on:
- caddy
env_file:
Expand Down
6 changes: 3 additions & 3 deletions infrastructure/qbittorrent/docker-compose.qbittorrent.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
- ./qbittorrent/env/qbittorrent.env
volumes:
- qbittorrent_config:/config
- qbittorrent_data:/downloads
- public_data:/downloads
networks:
- infra-network
security_opt:
Expand All @@ -21,5 +21,5 @@ services:
volumes:
qbittorrent_config:
name: qbittorrent_config
qbittorrent_data:
name: qbittorrent_data
public_data:
name: public_data
6 changes: 3 additions & 3 deletions infrastructure/transmission/docker-compose.transmission.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ services:
- ./transmission/env/transmission.env
volumes:
- transmission_config:/config
- transmission_data:/downloads
- public_data:/downloads
- transmission_watch:/watch
networks:
- infra-network
Expand All @@ -22,7 +22,7 @@ services:
volumes:
transmission_config:
name: transmission_config
transmission_data:
name: transmission_data
public_data:
name: public_data
transmission_watch:
name: transmission_watch

0 comments on commit a265603

Please sign in to comment.