From 01bd32c8be7a93cb8a96819fba2dca21ce3ca43a Mon Sep 17 00:00:00 2001 From: stebifan Date: Sat, 4 Jan 2020 14:38:21 +0100 Subject: [PATCH] First Commit --- docker-compose.yml | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 docker-compose.yml diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..0c54058 --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,36 @@ +version: '2' + +services: + fw-downloader: + image: fftdf/ffrs-fw-dl + volumes: + - /mnt/fw_data/:/var/www/fwuploads:ro + environment: + VIRTUAL_PORT: 80 + VIRTUAL_HOST: fw.freifunk-troisdorf.de + LETSENCRYPT_HOST: fw.freifunk-troisdorf.de + networks: + - proxy + + fw-directory: + image: mohamnag/nginx-file-browser + volumes: + - /mnt/fw_data/:/opt/www/files/:ro + environment: + VIRTUAL_PORT: 80 + VIRTUAL_HOST: fwd.freifunk-troisdorf.de + LETSENCRYPT_HOST: fwd.freifunk-troisdorf.de + networks: + - proxy + + ssh-access: # https://github.com/sickp/docker-alpine-sshd/ + image: fftdf/ffrs-fw-downloader-ssh #Gibt es noch nicht! + volumes: + - /mnt/fw_data/:opt/fwuploads + ports: + - 2220:22 + +networks: + proxy: + external: + name: proxy \ No newline at end of file