mirror of
https://github.com/bensuperpc/infrastructure.git
synced 2025-08-13 21:14:57 +02:00
Improve docker-compose
Signed-off-by: Bensuperpc <bensuperpc@gmail.com>
This commit is contained in:
25
infrastructure/services/dufs/docker-compose.dufs.yml
Normal file
25
infrastructure/services/dufs/docker-compose.dufs.yml
Normal file
@@ -0,0 +1,25 @@
|
||||
services:
|
||||
# dufs
|
||||
dufs:
|
||||
image: sigoden/dufs:latest
|
||||
container_name: dufs
|
||||
profiles:
|
||||
- dufs
|
||||
user: ${PUID:-1000}:${PGID:-1000}
|
||||
restart: on-failure:5
|
||||
depends_on:
|
||||
- caddy
|
||||
env_file:
|
||||
- ./env/dufs.env
|
||||
volumes:
|
||||
- public_data:/data
|
||||
networks:
|
||||
- infra-network
|
||||
security_opt:
|
||||
- no-new-privileges:true
|
||||
|
||||
volumes:
|
||||
public_data:
|
||||
name: public_data
|
||||
private_data:
|
||||
name: private_data
|
Reference in New Issue
Block a user