feat: update paper to use alex 0.3.0
parent
f593bad484
commit
2a3fc0ca26
|
@ -26,8 +26,9 @@ services:
|
|||
environment:
|
||||
- 'ALEX_XMS=4096'
|
||||
- 'ALEX_XMX=8192'
|
||||
- 'ALEX_MAX_BACKUPS=28'
|
||||
- 'ALEX_FREQUENCY=360'
|
||||
# Backups every 30 minutes stored for a day for quick rollback in case of crash
|
||||
# Daily full backups for 7 days for broader rollback if needed
|
||||
- 'ALEX_LAYERS=30min,30,1,24;daily,1440,7,1'
|
||||
ports:
|
||||
- '25565:25565'
|
||||
volumes:
|
||||
|
|
|
@ -24,7 +24,7 @@ ARG MC_VERSION
|
|||
ARG PAPERMC_VERSION
|
||||
|
||||
# Install alex binary
|
||||
ADD "https://git.rustybever.be/api/packages/Chewing_Bever/generic/alex/0.2.2/alex-linux-amd64" /bin/alex
|
||||
ADD "https://git.rustybever.be/api/packages/Chewing_Bever/generic/alex/0.3.0/alex-linux-amd64" /bin/alex
|
||||
|
||||
RUN chmod +x /bin/alex && \
|
||||
addgroup -Sg 1000 paper && \
|
||||
|
@ -47,6 +47,7 @@ ENV ALEX_JAR=/app/server.jar \
|
|||
ALEX_CONFIG_DIR=/app/config \
|
||||
ALEX_WORLD_DIR=/app/worlds \
|
||||
ALEX_BACKUP_DIR=/app/backups \
|
||||
ALEX_SERVER=paper \
|
||||
ALEX_SERVER_VERSION="${MC_VERSION}-${PAPERMC_VERSION}"
|
||||
|
||||
# Document exposed ports
|
||||
|
@ -58,7 +59,7 @@ USER paper:paper
|
|||
COPY --from=dumb-init-builder /app/dumb-init /dumb-init
|
||||
|
||||
ENTRYPOINT ["/dumb-init", "--"]
|
||||
CMD /bin/alex paper
|
||||
CMD /bin/alex run
|
||||
|
||||
# HEALTHCHECK --interval=30s --timeout=5s --start-period=1m --retries=5 \
|
||||
# CMD mcstatus localhost:25565 ping
|
||||
|
|
Loading…
Reference in New Issue