mirror of
https://github.com/schlagmichdoch/PairDrop.git
synced 2025-04-20 07:05:05 -04:00
Set up tls for developing PWA features
This commit is contained in:
parent
283a76f7e9
commit
6910099873
9 changed files with 142 additions and 4 deletions
|
@ -8,9 +8,18 @@ services:
|
|||
- ./server/:/home/node/app
|
||||
command: ash -c "npm i && node index.js"
|
||||
nginx:
|
||||
image: "nginx:alpine"
|
||||
build:
|
||||
context: ./
|
||||
dockerfile: nginx-with-openssl.Dockerfile
|
||||
image: "nginx-with-openssl"
|
||||
volumes:
|
||||
- ./client:/usr/share/nginx/html
|
||||
- ./nginx/default.conf:/etc/nginx/conf.d/default.conf
|
||||
- ./certs:/etc/ssl/certs
|
||||
- ./openssl:/mnt/openssl
|
||||
ports:
|
||||
- "8080:80"
|
||||
- "443:443"
|
||||
env_file: fqdn.env
|
||||
entrypoint: /mnt/openssl/create.sh
|
||||
command: ["nginx", "-g", "daemon off;"]
|
Loading…
Add table
Add a link
Reference in a new issue