Skip to content
Snippets Groups Projects
Commit 13f52e93 authored by Yuci Gou's avatar Yuci Gou
Browse files

Secure plus.europepmc.org with HTTPS

parent 1dff9089
No related branches found
No related tags found
2 merge requests!101Shared data model,!102Shared data model
......@@ -13,6 +13,7 @@ config.json
_build/
uploads/
config/local*.*
config/certs
.vscode/launch.json
local-development.json
epmc-pwd/
......@@ -60,6 +60,4 @@ ENV NODE_ENV ${NODE_ENV}
RUN [ "npx", "pubsweet", "build"]
EXPOSE ${PORT:-80}
CMD []
version: '3'
services:
nginx-proxy:
image: jwilder/nginx-proxy
ports:
- "443:443"
volumes:
- /var/run/docker.sock:/tmp/docker.sock:ro
- ./config/certs:/etc/nginx/certs
environment:
DEFAULT_HOST: plus.europepmc.org
app:
# user: 'node'
build:
......@@ -13,6 +23,7 @@ services:
environment:
PGHOST: postgres
PGUSER: $USER
VIRTUAL_HOST: plus.europepmc.org
env_file:
- .env
volumes:
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment