IP address and port of the server can be changed in .env file

This commit is contained in:
Alexander Kharitonov
2022-04-02 19:13:46 +03:00
parent 178681152b
commit 8ccc20ca10
2 changed files with 3 additions and 1 deletions

View File

@@ -3,7 +3,7 @@ services:
devpisrv:
build: .
ports:
- "3141:3141"
- "${SERVER_IP:-0.0.0.0}:${SERVER_PORT:-3141}:3141"
volumes:
- devpisrv-data:/var/local/devpisrv
restart: always