Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
kaana.red
faircoind
Commits
f7ec0bcd
Commit
f7ec0bcd
authored
Mar 15, 2021
by
TonyFord
Browse files
set env vars default values in docker-compose
parent
2cc47321
Changes
1
Hide whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
f7ec0bcd
...
...
@@ -7,16 +7,16 @@ services:
context
:
./
args
:
source_repository
:
"
https://github.com/faircoin/faircoin.git"
RUNNER_UID
:
"
${RUNNER_UID}"
RUNNER_GID
:
"
${RUNNER_GID}"
FAIRCOIN_PORT
:
${FAIRCOIN_PORT}
RUNNER_UID
:
"
${RUNNER_UID
:-1000
}"
RUNNER_GID
:
"
${RUNNER_GID
:-1000
}"
FAIRCOIN_PORT
:
${FAIRCOIN_PORT
:-40404
}
env_file
:
-
${FAIRCOIN_CONF}
container_name
:
FairCoin.Co-faircoind
restart
:
always
command
:
'
-disablewallet
-port=${FAIRCOIN_PORT}
-blocknotify=/home/faircoin/script/blocknotify.sh'
command
:
'
-disablewallet
-port=${FAIRCOIN_PORT
:-40404
}
-blocknotify=/home/faircoin/script/blocknotify.sh'
network_mode
:
"
host"
user
:
"
${RUNNER_UID}:${RUNNER_GID}"
user
:
"
${RUNNER_UID
:-1000
}:${RUNNER_GID
:-1000
}"
volumes
:
-
~/.faircoin2:/home/faircoin/.faircoin2
-
./script:/home/faircoin/script
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment