Skip to content

Make Arquivo run from within Docker #81

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

Merged
merged 51 commits into from
Dec 10, 2023
Merged

Make Arquivo run from within Docker #81

merged 51 commits into from
Dec 10, 2023

Conversation

phillmv
Copy link
Owner

@phillmv phillmv commented Nov 24, 2023

This PR:

  • Adds a Dockerfile template
  • Tweaks it, adds final and development stages
  • Does a whole bunch of bending over backwards to get ssh to work properly from inside the container's context
  • Ditto for fixing weird assumptions the code made, that this was just chillin' on my personal laptop, and instead of a tightly contained (pun intended) environment
  • Fixes a bunch of weird bugs that turns out I had on YAML parsing and with serializing attachments to the git repo

After literally 5 months of calendar time and ~1.5 weeks of @phillmv personal time, this sucker will run if you provided it with something like:

docker build --target=development -t arquivo-development:latest .
docker run -it -p 12348:3001 -e -e RAILS_ENV=development -e RAILS_MASTER_KEY=DUMMY -e RAILS_BIND=tcp://0.0.0.0:3001 -v ~/Documents/docker-arquivo/:/data arquivo-development:latest

I can finally switch my locally running copies to using this image! Before I merge this PR I might try to improve the tests, and or get the image to build from within Actions, tho.

phillmv added 30 commits June 12, 2023 13:56
… template to match my local conditions, added 'bundle package --all-platforms' to vendor folder, tweaked webpack config to handle node/openssl mismatching.
Fixed bug where tests failed in Linux.
…nto migrtion but did exist in my schema & therefore is now part of my expcted interface; and also added ActiveSupport::TimeZone to be backwards compatible with older exports.
@phillmv phillmv changed the title Make Arquivo run from Make Arquivo run from within Docker Nov 24, 2023
@phillmv
Copy link
Owner Author

phillmv commented Dec 10, 2023

I EVEN FIXED THE CI WORKFLOW :D :D :D

tho I can't get the publishing workflow to work, i think because… it doesn't exist in the default branch yet?

but it's time to try this puppy out and merge and continue to work off the default branch again!

@phillmv phillmv merged commit cb62b58 into master Dec 10, 2023
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.

1 participant