You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Name of your application. Used to uniquely configure containers.service: hp# Name of the container image.image: nayvy/hp# Deploy to these servers.servers:
web:
hosts:
- 195.x.y.206# Credentials for your image host.registry:
# Specify the registry server, if you're not using Docker Hubserver: ghcr.iousername: nayvypassword:
- KAMAL_REGISTRY_PASSWORDbuilder:
args:
RUBY_VERSION: 3.2.2RAILS_ENV: productionsecrets:
- KAMAL_REGISTRY_PASSWORDcache:
type: registry# multiarch: falseremote:
arch: amd64host: ssh://[email protected]# Configure a custom healthcheck (default is /up on Rails 7, change when you upgrade)healthcheck:
path: /# Inject ENV variables into containers (secrets come from .env).env:
clear:
RAILS_LOG_TO_STDOUT: 1RAILS_SERVE_STATIC_FILES: 1secret:
- RAILS_MASTER_KEY
- POSTGRES_USER
- POSTGRES_PASSWORD
- POSTGRES_DB
- POSTGRES_HOST
- DATABASE_URL
My database is running on a remote server and I'm connecting to it using the DATABASE_URL string
I cannot access the app from my custom domain nor the IP
The text was updated successfully, but these errors were encountered:
Turns our the issue was sassc that the administrate gem uses, conflicting with tailwindcss-rails gem, hence I was not able to build the image.
Initially though, the error messages displayed during deploy showed no hints at all, it just said container unhealthy, could not connect to localhost, so I had no way of knowing it was a sassc asset compilation issue until I bisected the code.
I am getting these error logs from
kamal traefik logs
Here is my
deploy.yml
My database is running on a remote server and I'm connecting to it using the
DATABASE_URL
stringI cannot access the app from my custom domain nor the IP
The text was updated successfully, but these errors were encountered: