Hardening of the Frontend docker image (#377)

* move the env-config script to a sub folder
* fix doc
* fix ports and ref to the official image
* add hardening to the docker-compose examples
This commit is contained in:
Chevdor
2021-08-26 12:20:01 +02:00
committed by GitHub
parent c201ece634
commit 238d529eae
10 changed files with 83 additions and 22 deletions
+5
View File
@@ -10,6 +10,11 @@ services:
build:
dockerfile: Dockerfile
context: ./frontend/
read_only: true
tmpfs:
- /var/cache/nginx:uid=101,gid=101
- /var/run:uid=101,gid=101
- /app/tmp:uid=101,gid=101
environment:
SUBSTRATE_TELEMETRY_URL: ws://localhost:8000/feed
ports: