mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-01-22 14:35:38 +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:
|
profiles:
|
||||||
- database
|
- database
|
||||||
- gitea
|
- gitea
|
||||||
|
depends_on:
|
||||||
|
- caddy
|
||||||
environment:
|
environment:
|
||||||
- PUID=${PUID:-1000}
|
- PUID=${PUID:-1000}
|
||||||
- PGID=${PGID:-1000}
|
- PGID=${PGID:-1000}
|
||||||
|
@ -118,4 +118,10 @@
|
|||||||
description: 7 Days to Die server
|
description: 7 Days to Die server
|
||||||
# ping: 7dtd.bensuperpc.org
|
# ping: 7dtd.bensuperpc.org
|
||||||
container: 7dtd-server
|
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:
|
profiles:
|
||||||
- main_infrastructure
|
- main_infrastructure
|
||||||
volumes:
|
volumes:
|
||||||
- public_data:/public
|
- infrastructure_server_chown:/infrastructure_server:rw
|
||||||
- private_data:/private
|
- public_data:/infrastructure_server/public:rw
|
||||||
|
- private_data:/infrastructure_server/private:rw
|
||||||
read_only: true
|
read_only: true
|
||||||
security_opt:
|
security_opt:
|
||||||
- no-new-privileges:true
|
- no-new-privileges:true
|
||||||
@ -16,9 +17,11 @@ services:
|
|||||||
- CHOWN
|
- CHOWN
|
||||||
- DAC_OVERRIDE
|
- DAC_OVERRIDE
|
||||||
# Fix root permissions on mounted volumes
|
# 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:
|
volumes:
|
||||||
|
infrastructure_server_chown:
|
||||||
|
name: infrastructure_server_chown
|
||||||
public_data:
|
public_data:
|
||||||
name: public_data
|
name: public_data
|
||||||
private_data:
|
private_data:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user