From bc7167a1b79b8fba76a5d294c2ad95dcc152f724 Mon Sep 17 00:00:00 2001 From: Bensuperpc Date: Sun, 15 Sep 2024 21:23:20 +0200 Subject: [PATCH] Update chown service Signed-off-by: Bensuperpc --- infrastructure/gitea/docker-compose.gitea.yml | 2 ++ infrastructure/homepage/config/services.yaml | 6 ++++++ infrastructure/main/docker-compose.main.yml | 9 ++++++--- 3 files changed, 14 insertions(+), 3 deletions(-) diff --git a/infrastructure/gitea/docker-compose.gitea.yml b/infrastructure/gitea/docker-compose.gitea.yml index 6edae93..13c71a2 100644 --- a/infrastructure/gitea/docker-compose.gitea.yml +++ b/infrastructure/gitea/docker-compose.gitea.yml @@ -30,6 +30,8 @@ services: profiles: - database - gitea + depends_on: + - caddy environment: - PUID=${PUID:-1000} - PGID=${PGID:-1000} diff --git a/infrastructure/homepage/config/services.yaml b/infrastructure/homepage/config/services.yaml index 23635b4..c71f0bb 100644 --- a/infrastructure/homepage/config/services.yaml +++ b/infrastructure/homepage/config/services.yaml @@ -118,4 +118,10 @@ description: 7 Days to Die server # ping: 7dtd.bensuperpc.org container: 7dtd-server + - satisfactory: +# icon: https://cdn.jsdelivr.net/gh/walkxcode/dashboard-icons@master/png/7dtd.png +# href: https://7dtd.bensuperpc.org/ + description: Satisfactory server +# ping: 7dtd.bensuperpc.org + container: satisfactory-server diff --git a/infrastructure/main/docker-compose.main.yml b/infrastructure/main/docker-compose.main.yml index db7c53b..6b01013 100644 --- a/infrastructure/main/docker-compose.main.yml +++ b/infrastructure/main/docker-compose.main.yml @@ -5,8 +5,9 @@ services: profiles: - main_infrastructure volumes: - - public_data:/public - - private_data:/private + - infrastructure_server_chown:/infrastructure_server:rw + - public_data:/infrastructure_server/public:rw + - private_data:/infrastructure_server/private:rw read_only: true security_opt: - no-new-privileges:true @@ -16,9 +17,11 @@ services: - CHOWN - DAC_OVERRIDE # Fix root permissions on mounted volumes - command: chown -R ${PUID:-1000}:${PGID:-1000} /public /private + command: chown -R ${PUID:-1000}:${PGID:-1000} /infrastructure_server volumes: + infrastructure_server_chown: + name: infrastructure_server_chown public_data: name: public_data private_data: