Sign inSign up

palladius/pastang

By palladius

Updated over 3 years ago

Pasta New Generation with RoR7

Image
1

1.2K

palladius/pastang repository overview

🍝 2025 edit 🍝: here's the oneliner everyone had been looking for:

$ docker run -it -p 8080:8080 palladius/pastang rails server -p 8080 -b 0.0.0.0

This is the brand new Pasta 2022 app.

After this, you'll never have to ask yourself: does Spaghetti Bolognese exist? Does pesto go with agnolotti?

# Gives you access to shell, but still you need to run the app
docker run -it -p 8080:8080 palladius/pastang
# Alternative, here's the perfect one-liner to get it all started in DEV:
docker run -it -p 8080:8080 palladius/pastang rails server -p 8080 -b 0.0.0.0

You can also make it work in PROD (fixed from v0.10.6)

# I've written this 2y ago, I believe RICCARDO_SECRET_KEY_BASE is nothing else than RAILS_MASTER_KEY
$ docker run -it -p 8080:8080 \
		--env RAILS_ENV='production' \
		--env RICCARDO_SECRET_KEY_BASE='<your-prod-key>' \
		palladius/pastang ./entrypoint-8080.sh

Note you can generate any random key with rails: EDITOR=vim rails secrets:edit

Code

Code is hosted here: https://github.com/palladius/pasta

Tag summary

Content type

Image

Digest

sha256:fdbf4e80b

Size

340.9 MB

Last updated

over 3 years ago

docker pull palladius/pastang