Browse Source

Fix entrypoint and add volume /etc

master
Siroco 5 months ago
parent
commit
ccae4d8ce9
Signed by: siroco
GPG Key ID: 1324098302A514B0
  1. 1
      docker-compose.yml
  2. 4
      entrypoint.sh

1
docker-compose.yml

@ -8,6 +8,7 @@ services:
- "2222:22"
volumes:
- ./data:/home
- ./config:/etc
stdin_open: true
tty: true
init: true

4
entrypoint.sh

@ -18,7 +18,7 @@ do
done < <(cat /home/packages)
# Root Passw
if [! -f /home/.root_passw ]; then
if [ ! -f /home/.root_passw ]; then
echo ---
echo
PASS=`openssl rand -base64 24`
@ -28,7 +28,7 @@ if [! -f /home/.root_passw ]; then
echo
echo ---
echo
else;
else
echo ---
echo PASSWORD YET CREATED
echo ---

Loading…
Cancel
Save