feat: Add stack.env and use env_file in Portracker configuration
This commit is contained in:
@@ -19,8 +19,5 @@ services:
|
||||
volumes:
|
||||
- /volume1/docker/portracker/data:/data:rw
|
||||
- /var/run/docker.sock:/var/run/docker.sock:ro
|
||||
environment:
|
||||
- PUID=${PUID:-1043}
|
||||
- PGID=${PGID:-65538}
|
||||
- TZ=${TZ:-America/Toronto}
|
||||
env_file: stack.env
|
||||
restart: on-failure:5
|
||||
|
||||
6
portracker/stack.env
Normal file
6
portracker/stack.env
Normal file
@@ -0,0 +1,6 @@
|
||||
PUID=1043
|
||||
PGID=65538
|
||||
TZ=America/Toronto
|
||||
# Add optional authentication if needed
|
||||
# AUTH_USER=admin
|
||||
# AUTH_PASS=password
|
||||
Reference in New Issue
Block a user