Snapdrop Compose
Use this compose stack to install Snapdrop. More information can be found here.
---
version: "2.1"
services:
node:snapdrop:
image: "node:lts-alpine"linuxserver/snapdrop
user:container_name: "node"snapdrop
working_dir: /home/node/app
volumes:environment:
- ./server/:/home/node/app
command: ash -c "npm i && node index.js"
nginx:
build:
context: ./docker/
dockerfile: nginx-with-openssl.Dockerfile
image: "nginx-with-openssl"
volumes:PUID=1000
- ./client:/usr/share/nginx/htmlPGID=1000
- ./docker/nginx/default.conf:/etc/nginx/conf.d/default.conf
- ./docker/certs:/etc/ssl/certs
- ./docker/openssl:/mnt/opensslTZ=Europe/London
ports:
- "8080:80"80:80
- "443:443"443
env_file:restart: ./docker/fqdn.env
entrypoint: /mnt/openssl/create.sh
command: ["nginx", "-g", "daemon off;"]unless-stopped