docker-compose/examples/filebrowser/compose.yaml
2024-10-10 09:18:38 +00:00

30 lines
633 B
YAML

version: "3.9"
services:
filebrowser:
image: filebrowser/filebrowser:v2.31.2
container_name: filebrowser
hostname: filebrowser
restart: always
networks:
- app_network
ports:
- "80:80"
volumes:
- /usr/share/zoneinfo/Asia/Shanghai:/etc/localtime:ro
- ./data:/srv
- ./db/filebrowser.db:/database/filebrowser.db
- ./conf/.filebrowser.json:/.filebrowser.json
networks:
app_network:
name: app_network
external: true
# driver: bridge
# driver_opts:
# encrypted: 'true'
# ipam:
# driver: default
# config:
# - subnet: 10.21.23.1/24