snapdrop

A Progressive Web App for local file sharing https://github.com/RobinLinus/snapdrop snapdrop.net
git clone http://git.hanabi.in/repos/snapdrop.git
Log | Files | Refs | README | LICENSE

docker-compose.yml (681B)


      1 version: "3"
      2 services:
      3   node:
      4     image: "node:lts-alpine"
      5     user: "node"
      6     working_dir: /home/node/app
      7     volumes:
      8       - ./server/:/home/node/app
      9     command: ash -c "npm i && node index.js"
     10   nginx:
     11     build:
     12       context: ./docker/
     13       dockerfile: nginx-with-openssl.Dockerfile
     14     image: "nginx-with-openssl"
     15     volumes:
     16       - ./client:/usr/share/nginx/html
     17       - ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
     18       - ./docker/certs:/etc/ssl/certs
     19       - ./docker/openssl:/mnt/openssl
     20     ports:
     21       - "8080:80"
     22       - "443:443"
     23     env_file: ./docker/fqdn.env
     24     entrypoint: /mnt/openssl/create.sh
     25     command: ["nginx", "-g", "daemon off;"]