add .env variable USER_ID

To harmonize the configuration I added the possibility to change the
USER_ID variable in the .env file. Furthermore I appended the example
variable, incl. a explanatory comment, to the .env.sample.
This commit is contained in:
Vri 🌈 2023-05-02 19:52:28 +02:00
parent c1ac6a2325
commit 8e92e18f79
Signed by: vrifox
GPG key ID: D40098E5B60B2197
2 changed files with 2 additions and 1 deletions

View file

@ -1,2 +1,3 @@
USER_ID=1000 # Set if your user id is different (`id -u`)
APPLICATION_HOST=localhost APPLICATION_HOST=localhost
ESDATA=../esdata ESDATA=../esdata

View file

@ -5,7 +5,7 @@ services:
build: build:
context: . context: .
args: args:
- USER_ID=1000 - USER_ID=${USER_ID=1000}
volumes: volumes:
- .:/app - .:/app
ports: ports: