Skip to content

Commit b98ea16

Browse files
author
Bastian Schwarz
committed
Set defaults for UID and GID
Fixes #13
1 parent 724cfeb commit b98ea16

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.installer/templates/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.6'
22

33
services:
44
application:
5-
user: "${UID}:${GID}" #don't run as root by default to prevent permission conflicts
5+
user: "${UID:-1000}:${GID:-1000}" #don't run as root by default to prevent permission conflicts
66
build:
77
context: docker/application
88
args:

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ version: '3.6'
22

33
services:
44
application:
5-
user: "${UID}:${GID}" #don't run as root by default to prevent permission conflicts
5+
user: "${UID:-1000}:${GID:-1000}" #don't run as root by default to prevent permission conflicts
66
build:
77
context: docker/application
88
args:

0 commit comments

Comments
 (0)