mirror of
https://github.com/askh/pypimirror.git
synced 2026-02-24 06:23:55 +00:00
IP address and port of the server can be changed in .env file
This commit is contained in:
2
.env.example
Normal file
2
.env.example
Normal file
@@ -0,0 +1,2 @@
|
||||
SERVER_IP=0.0.0.0
|
||||
SERVER_PORT=3141
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user