2024-04-22 18:53:00 +08:00
|
|
|
version: "3.9"
|
|
|
|
|
|
|
|
services:
|
|
|
|
filebrowser:
|
2024-10-11 01:18:00 +08:00
|
|
|
image: filebrowser/filebrowser:v2.31.2
|
2024-04-22 18:53:00 +08:00
|
|
|
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:
|
2024-05-22 17:26:00 +08:00
|
|
|
# - subnet: 10.21.23.1/24
|