From 8e92e18f79cc870418c74199efcecd0660ecce27 Mon Sep 17 00:00:00 2001 From: vrifox Date: Tue, 2 May 2023 19:52:28 +0200 Subject: [PATCH] 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. --- .env.sample | 1 + docker-compose.yml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.env.sample b/.env.sample index c741e89..d26efeb 100644 --- a/.env.sample +++ b/.env.sample @@ -1,2 +1,3 @@ +USER_ID=1000 # Set if your user id is different (`id -u`) APPLICATION_HOST=localhost ESDATA=../esdata \ No newline at end of file diff --git a/docker-compose.yml b/docker-compose.yml index 062fd5d..397f725 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -5,7 +5,7 @@ services: build: context: . args: - - USER_ID=1000 + - USER_ID=${USER_ID=1000} volumes: - .:/app ports: