Skip to content

Commit

Permalink
Bump keepup version, add option to chown /data to UID:GUI
Browse files Browse the repository at this point in the history
  • Loading branch information
0ffz committed Nov 4, 2023
1 parent 5749926 commit 62c0eba
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ environment:
ANSIBLE_PULL: true # Pulls and runs server-config ansible playbook if set to 'enabled', otherwise tries to run local playbook
ANSIBLE_PULL_BRANCH: master # server-config branch to pull from
SERVER_NAME: dev # Name of this server, used in server-config playbook
UPDATE_DATA_OWNER: false # whether to update the owner of /data to UID:GID
```
Expand Down
2 changes: 1 addition & 1 deletion minecraft.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ LABEL org.opencontainers.image.authors="Offz <offz@mineinabyss.com>"

RUN apk add --no-cache ansible rclone wget unzip

ARG KEEPUP_VERSION=1.1.0
ARG KEEPUP_VERSION=1.1.2

ENV\
KEEPUP=true\
Expand Down
2 changes: 1 addition & 1 deletion proxy.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ RUN apt-get update -y \

RUN PIPX_HOME=/opt/pipx PIPX_BIN_DIR=/usr/local/bin pipx install --include-deps ansible

ARG KEEPUP_VERSION=1.1.0
ARG KEEPUP_VERSION=1.1.2

ENV\
KEEPUP=true\
Expand Down
7 changes: 6 additions & 1 deletion scripts/dev/entrypoint
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
#!/bin/sh
#!/bin/bash

set -e

. /scripts/dev/ansible
. /scripts/dev/keepup

if [ "$UPDATE_DATA_OWNER" = "true" ]; then
echo "Updating owner for /data to $UID:$GID"
chown $UID:$GID -R /data
fi

exec /start

0 comments on commit 62c0eba

Please sign in to comment.