fix: use correct env var for backup dir
ci/woodpecker/push/release Pipeline was successful
Details
ci/woodpecker/tag/clippy Pipeline was successful
Details
ci/woodpecker/tag/lint Pipeline was successful
Details
ci/woodpecker/tag/build Pipeline was successful
Details
ci/woodpecker/tag/release Pipeline was successful
Details
ci/woodpecker/push/lint Pipeline was successful
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/clippy Pipeline was successful
Details
ci/woodpecker/push/release Pipeline was successful
Details
ci/woodpecker/tag/clippy Pipeline was successful
Details
ci/woodpecker/tag/lint Pipeline was successful
Details
ci/woodpecker/tag/build Pipeline was successful
Details
ci/woodpecker/tag/release Pipeline was successful
Details
ci/woodpecker/push/lint Pipeline was successful
Details
ci/woodpecker/push/build Pipeline was successful
Details
ci/woodpecker/push/clippy Pipeline was successful
Details
parent
375a68fbd6
commit
9ce8199d5f
|
@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||||
|
|
||||||
## [Unreleased](https://git.rustybever.be/Chewing_Bever/alex/src/branch/dev)
|
## [Unreleased](https://git.rustybever.be/Chewing_Bever/alex/src/branch/dev)
|
||||||
|
|
||||||
|
## [0.2.2](https://git.rustybever.be/Chewing_Bever/alex/src/tag/0.2.2)
|
||||||
|
|
||||||
|
### Fixed
|
||||||
|
|
||||||
|
* Use correct env var for backup directory
|
||||||
|
|
||||||
## [0.2.1](https://git.rustybever.be/Chewing_Bever/alex/src/tag/0.2.1)
|
## [0.2.1](https://git.rustybever.be/Chewing_Bever/alex/src/tag/0.2.1)
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
|
|
@ -10,7 +10,7 @@ checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "alex"
|
name = "alex"
|
||||||
version = "0.2.1"
|
version = "0.2.2"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"chrono",
|
"chrono",
|
||||||
"clap",
|
"clap",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "alex"
|
name = "alex"
|
||||||
version = "0.2.1"
|
version = "0.2.2"
|
||||||
description = "Wrapper around Minecraft server processes, designed to complement Docker image installations."
|
description = "Wrapper around Minecraft server processes, designed to complement Docker image installations."
|
||||||
authors = ["Jef Roosens"]
|
authors = ["Jef Roosens"]
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
|
@ -22,7 +22,7 @@ FROM eclipse-temurin:18-jre-alpine
|
||||||
|
|
||||||
# Build arguments
|
# Build arguments
|
||||||
ARG MC_VERSION=1.19.4
|
ARG MC_VERSION=1.19.4
|
||||||
ARG PAPERMC_VERSION=545
|
ARG PAPERMC_VERSION=525
|
||||||
|
|
||||||
RUN addgroup -Sg 1000 paper && \
|
RUN addgroup -Sg 1000 paper && \
|
||||||
adduser -SHG paper -u 1000 paper
|
adduser -SHG paper -u 1000 paper
|
||||||
|
@ -61,4 +61,5 @@ EXPOSE 25565
|
||||||
# Switch to non-root user
|
# Switch to non-root user
|
||||||
USER paper:paper
|
USER paper:paper
|
||||||
|
|
||||||
ENTRYPOINT ["/bin/alex", "paper"]
|
ENTRYPOINT ["/bin/dumb-init", "--"]
|
||||||
|
CMD ["/bin/alex", "paper"]
|
||||||
|
|
|
@ -46,7 +46,7 @@ struct Cli {
|
||||||
long,
|
long,
|
||||||
value_name = "BACKUP_DIR",
|
value_name = "BACKUP_DIR",
|
||||||
default_value = "../backups",
|
default_value = "../backups",
|
||||||
env = "ALEX_WORLD_DIR"
|
env = "ALEX_BACKUP_DIR"
|
||||||
)]
|
)]
|
||||||
backup: PathBuf,
|
backup: PathBuf,
|
||||||
/// Java command to run the server jar with
|
/// Java command to run the server jar with
|
||||||
|
|
Loading…
Reference in New Issue