From c1e38de220a59aabdd30c48f103f01fce8781863 Mon Sep 17 00:00:00 2001 From: sickprodigy Date: Fri, 21 Nov 2025 18:56:03 -0500 Subject: [PATCH] Add docker-compose configuration for filegator service --- filegator/docker-compose.yml | 39 ++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 filegator/docker-compose.yml diff --git a/filegator/docker-compose.yml b/filegator/docker-compose.yml new file mode 100644 index 0000000..685eed9 --- /dev/null +++ b/filegator/docker-compose.yml @@ -0,0 +1,39 @@ +version: '2' +services: + filegator: + container_name: filegator + image: filegator/filegator + restart: always + ports: + - "8080:8080" + volumes: + # common mount points are listed here + # make sure filegator can read/write to the mounted volume + + # mount local folder as a repository + # - ./files:/var/www/filegator/repository + - "/unsorted:/var/www/filegator/repository/Downloads" #Shared Downloads folder + - "/Books:/var/www/filegator/repository/Books" #Shared Books Folder + - "/games:/var/www/filegator/repository/Games" #Shared Games folder + - "/Music:/var/www/filegator/repository/Music" #Shared Music Folder + - "/Movies:/var/www/filegator/repository/Movies" #Shared Movies folder + - "/programs:/var/www/filegator/repository/Programs" #Shared Movies folder + - "/TvShows:/var/www/filegator/repository/TvShows" #Shared TvShows folder + - "/Videos:/var/www/filegator/repository/Videos" #Shared Videos folder + + # locally stored users.json file + #- /docker-containers/filegator/config/users.json:/var/www/filegator/private/users.json + + # load your own custom configuration file + #- /docker-containers/filegator/config/configuration.php:/var/www/filegator/configuration.php + stdin_open: true # to attach to containers + tty: true # also used to attach to containers +# network_mode: service:wireguard # To run through vpn service container, in turn UI port must be forwarded inside vpn. No local access unless otherwise defined + networks: # Specify network for container + homelab: + aliases: + - fileg # adding multiple aliases under certain network +networks: # specify the network 2x. In service, and in this tag area.. + homelab: + name: homelab # Networks can also be given a custom name + external: true # This option causes compose to join the above network instead of making a _default one \ No newline at end of file