Add DIASPORA_DOCKER_PORT env var to change the port exposed by Docker

Set default port to 3000 as this is the default in the diaspora.yml.example

fixes #7927

closes #7928
This commit is contained in:
Dennis Schubert 2018-11-08 04:20:55 +01:00 committed by Benjamin Neff
parent b24b31256e
commit a6655c187d
No known key found for this signature in database
GPG key ID: 971464C3F1A90194

View file

@ -20,7 +20,7 @@ services:
- dia_data_tmp:/diaspora/tmp - dia_data_tmp:/diaspora/tmp
- dia_data_bundle:/diaspora/vendor/bundle - dia_data_bundle:/diaspora/vendor/bundle
ports: ports:
- 8080:3000 - ${DIASPORA_DOCKER_PORT:-3000}:3000
depends_on: depends_on:
- "${DIASPORA_DOCKER_DB}" - "${DIASPORA_DOCKER_DB}"