docker-compose/examples/filebrowser/compose.yaml

30 lines
633 B
YAML
Raw Normal View History

version: "3.9"
services:
filebrowser:
2024-10-11 01:18:00 +08:00
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