3 Commits

Author SHA1 Message Date
ec77f5adce try multiarch workflow
All checks were successful
Docker Image CI / docker (push) Successful in 2m41s
2025-08-03 00:47:14 -07:00
d8624be9fe update: readme update for holesail v2
All checks were successful
Docker Image CI / docker (push) Successful in 1m35s
2025-08-02 23:20:36 -07:00
0478070458 fix: rollback and fix
All checks were successful
Docker Image CI / docker (push) Successful in 1m30s
2025-08-02 22:33:55 -07:00
3 changed files with 9 additions and 8 deletions

View File

@@ -55,6 +55,7 @@ jobs:
- name: Build and push
uses: docker/build-push-action@v6
with:
platforms: linux/amd64,linux/arm64
push: ${{ github.event_name != 'pull_request' }}
tags: ${{ steps.meta.outputs.tags }}
labels: ${{ steps.meta.outputs.labels }}
labels: ${{ steps.meta.outputs.labels }}

View File

@@ -17,7 +17,7 @@ The following environment variables are available:
- HOST: The hostname or IP address to use for the client or server mode.
- PUBLIC: A boolean value indicating whether the server should use a public connetor string. Only applicable in server mode.
- FORCE: A boolean value indicating whether to force a short connector string of less than 32 chars. Only applicable in server and filemanager modes.
- CONNECTOR: A connector string used to identify the connection. Can be used in client, server, and filemanager modes.
- KEY: A string used to identify the connection. Can be used in client, server, and filemanager modes.
- USERNAME: The username to use for authentication in filemanager mode.
- PASSWORD: The password to use for authentication in filemanager mode.
- ROLE: The role to assign to the user in filemanager mode. Can be either admin or user.
@@ -41,7 +41,7 @@ docker run -d --name holesail \
-e MODE=server \
-e PORT=25565 \
-e HOST=minecraft \
-e CONNECTOR=very-super-secret \
-e KEY=very-super-secret \
-e PUBLIC=false \
--network holesail \
anaxios/holesail:latest
@@ -66,7 +66,7 @@ services:
PORT: 25565
HOST: minecraft
PUBLIC: false
CONNECTOR: very-super-secret
KEY: very-super-secret
networks:
- holesail
@@ -108,7 +108,7 @@ services:
PORT: 8989
HOST: 0.0.0.0
PUBLIC: false
CONNECTOR: very-super-secret
KEY: very-super-secret
```
**Note:** Client mode only works on Linux, and is incompatible with Windows and Mac.
@@ -131,7 +131,7 @@ services:
ROLE: user
USERNAME: admin
PASSWORD: admin
CONNECTOR: very-super-secret
KEY: very-super-secret
volumes:
- <host dir>:/data
```
@@ -153,7 +153,7 @@ services:
PORT: 25565
HOST: minecraft
PUBLIC: false
CONNECTOR: very-super-secret
KEY: very-super-secret
networks:
- holesail

2
run.sh
View File

@@ -35,7 +35,7 @@ cmd_argument_builder () {
"client")
[[ "$PORT" ]] && args="$args --port $PORT";
[[ "$HOST" ]] && args="$args --host $HOST";
[[ "$KEY" ]] && args="$args $KEY";
[[ "$KEY" ]] && args="$args --connect $KEY";
[[ "$UDP" = "true" ]] && args="$args --udp";
;;
"server")