Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workflow for Docker Images #89

Merged
merged 3 commits into from
Dec 14, 2024
Merged

Workflow for Docker Images #89

merged 3 commits into from
Dec 14, 2024

Conversation

jollySleeper
Copy link
Contributor

This pull request automates the creation of Docker images for arm64 and amd64 builds on each new version.

@zyachel
Copy link
Owner

zyachel commented Nov 30, 2024

can you mention important env variables to run the built image? because it won't run successfully without them

something like this:

docker run -d \
  --name libremdb \
  -p 3000:3000 \
  -e NEXT_PUBLIC_URL=https://iket.me \
  -e AXIOS_USERAGENT="Mozilla/5.0 (X11; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/130.0" \
  -e AXIOS_ACCEPT="text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8" \
  ghcr.io/zyachel/libremdb:latest #replace NEXT_PUBLIC_URL with your own

@jollySleeper
Copy link
Contributor Author

jollySleeper commented Dec 7, 2024

can you mention important env variables to run the built image? because it won't run successfully without them

something like this:

docker run -d \
  --name libremdb \
  -p 3000:3000 \
  -e NEXT_PUBLIC_URL=https://iket.me \
  -e AXIOS_USERAGENT="Mozilla/5.0 (X11; Linux x86_64; rv:108.0) Gecko/20100101 Firefox/130.0" \
  -e AXIOS_ACCEPT="text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8" \
  ghcr.io/zyachel/libremdb:latest #replace NEXT_PUBLIC_URL with your own

You suggesting me to add this to README.md right?

@zyachel
Copy link
Owner

zyachel commented Dec 7, 2024

yes

@jollySleeper
Copy link
Contributor Author

@zyachel Please take a look now.

@zyachel zyachel merged commit f141f45 into zyachel:main Dec 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants