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