docker: Add `$USER` env var to docker-compose

This ensures the variable is set and can be used as a default for the
node alias.
This commit is contained in:
Alexis Sellier 2023-07-24 12:27:26 +02:00
parent f639192dc6
commit de381cb378
No known key found for this signature in database
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,7 @@ services:
RUST_LOG: debug
RAD_PASSPHRASE: seed
RUST_BACKTRACE: 1
USER: ${USER}
volumes:
- /mnt/radicle/heartwood:/root/
init: true
@ -31,6 +32,7 @@ services:
environment:
RUST_LOG: debug
RUST_BACKTRACE: 1
USER: ${USER}
volumes:
- /mnt/radicle/heartwood:/root/
init: true