codex-team / codex.docs

Free Docs app powered by Editor.js ecosystem
https://docs.codex.so
Apache License 2.0
692 stars 69 forks source link

arm64 support in docker image #301

Open zerofoxfive opened 1 year ago

zerofoxfive commented 1 year ago

I'm texting CodeX Docs in Docker, and was unable to get it up and running on my arm based server due to missing architecture support. I have successfully spun it up on a x86 host, however arm support would simplify the setup.

Not sure of the effort to include an arm build in the docker registry for the project, so if this is an unreasonable request let me know.

mfuentesg commented 1 year ago

Hey @zerofoxfive I had the same issue yesterday, so built a custom image for myself, I'll share it with you.

mfuentesg commented 1 year ago

Hey @zerofoxfive

I created this repo. https://github.com/mfuentesg/docker-codex.docs, let me know if it works for you :)

mfuentesg commented 1 year ago

@zerofoxfive it worked?

gribanoveu commented 8 months ago

@mfuentesg How to set up storage and database? How to specify environment variables?

mfuentesg commented 8 months ago

Hey @gribanoveu I just followed this documentation https://docs.codex.so/configuration.

I created a file with the expected values and pass it as volume to the dockerfile.