mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-01-22 06:25:37 +01:00
Update chown service
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
parent
d53081cd35
commit
bc7167a1b7
@ -30,6 +30,8 @@ services:
|
||||
profiles:
|
||||
- database
|
||||
- gitea
|
||||
depends_on:
|
||||
- caddy
|
||||
environment:
|
||||
- PUID=${PUID:-1000}
|
||||
- PGID=${PGID:-1000}
|
||||
|
@ -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
|
||||
|
||||
|
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user