commit 01bd32c8be7a93cb8a96819fba2dca21ce3ca43a Author: stebifan Date: Sat Jan 4 14:38:21 2020 +0100 First Commit 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