Skip to content

Commit 5f4af4f

Browse files
authored
Merge pull request #13 from kumail-r/main
Create: Astral V2.1.3 version bump + misc. changes
2 parents 7dc71dc + d563314 commit 5f4af4f

File tree

4 files changed

+17
-4
lines changed

4 files changed

+17
-4
lines changed

.github/workflows/docker-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ env:
1919
# Use docker.io for Docker Hub if empty
2020
REGISTRY: ghcr.io
2121
# github.repository as <account>/<repo>
22-
IMAGE_NAME: maxi0604/create-astral
22+
IMAGE_NAME: claraphyll/create-astral
2323

2424

2525
jobs:

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ RUN mkdir /tmp/rcon
66
RUN tar -xf /tmp/rcon.tar.gz -C /tmp/rcon --strip-components=1
77

88
WORKDIR /data
9-
RUN curl -fsSL -o "/tmp/pack.zip" "https://www.curseforge.com/api/v1/mods/681792/files/5864156/download"
9+
RUN curl -fsSL -o "/tmp/pack.zip" "https://www.curseforge.com/api/v1/mods/681792/files/6057416/download"
1010
RUN curl -fsSL -o "/tmp/old.zip" "https://www.curseforge.com/api/v1/mods/681792/files/4496671/download"
1111
RUN unzip -q /tmp/pack.zip -d /data
1212
RUN unzip -q /tmp/old.zip -d /tmp/old/

README.md

Lines changed: 14 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,10 @@ you run your compose command. The required templates for these files are include
3838
If you want to modify other files like those in the `config` folder, consider adding the
3939
`/data/config` folder as a volume similar to how the files above are set up.
4040

41+
## JVM Arguments (memory usage)
42+
43+
If you are building the image yourself, you can customize the JVM arguments used by the server in [`entrypoint.sh`](entrypoint.sh).
44+
4145
# Manual Setup
4246
The server can be set up without using a program like `podman-compose` or `docker-compose`.
4347

@@ -53,10 +57,19 @@ podman run -d -e EULA=TRUE \
5357
-v ./banned-ips.json:/data/banned-ips.json:z \
5458
-v astral-world:/data/world:z \
5559
-v astral-backup:/data/backup:z \
56-
ghcr.io/maxi0604/create-astral:v2.1.2
60+
ghcr.io/claraphyll/create-astral:v2.1.3
5761
```
5862
to get started. This will run a Create: Astral server on port 25565 (the default) which stores the game world in a named volume.
5963

64+
## Building your own image
65+
66+
If you use compose, you can have the best of both worlds with very little modification. Replace the line `image: ghcr.io/claraphyll/create-astral:v2.1.3` in the [`compose.yaml`](compose.yaml) file with the following:
67+
```yaml
68+
build: .
69+
```
70+
71+
Now, when you run the command `podman-compose build` or `docker compose build` you will be able to build the image using the provided Dockerfile. This can allow you to modify your [`entrypoint.sh`](entrypoint.sh) or perform any other customizations, such as updating to an as of yet unsupported version of Create: Astral. Once it is built, you can run the container like normal using `docker compose up -d` or `podman-compose up -d`.
72+
6073
# Maintenance
6174
See the documentation for your preferred container engine for comprehensive guidance. Some hints:
6275
- You can set up automatic restart using `restart: always` in `compose.yml` or the `--restart=always` flag when not using compose.

compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
services:
22
create-astral:
3-
image: ghcr.io/maxi0604/create-astral:v2.1.2
3+
image: ghcr.io/claraphyll/create-astral:v2.1.3
44
environment:
55
EULA: "FALSE"
66
RCON_PASSWORD: "hunter2"

0 commit comments

Comments
 (0)