Last active
April 30, 2025 08:11
-
-
Save wyodeb/9b788d9ba3e7b783d4b1083a53c3d9a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
service: crysto | |
image: wyodeb/crysto | |
servers: | |
web: | |
hosts: | |
- 188...... | |
job: | |
hosts: | |
- 188...... | |
cmd: bundle exec sidekiq | |
proxy: | |
ssl: true | |
host: api........ | |
app_port: 3000 | |
healthcheck: | |
path: /up | |
interval: 7 | |
timeout: 49 | |
registry: | |
username: wyodeb | |
password: | |
- KAMAL_REGISTRY_PASSWORD | |
builder: | |
arch: amd64 | |
cache: { } | |
dockerfile: ./Dockerfile | |
env: | |
secret: | |
- RAILS_MASTER_KEY | |
- DB_NAME | |
- DB_USER | |
- DB_PASSWORD | |
- DB_HOST | |
- REDIS_URL | |
- SENDGRID_WELCOME_TEMPLATE_ID | |
- SENDGRID_RESET_PASSWORD_TEMPLATE_ID | |
- SENDGRID_DISCARD_TEMPLATE_ID | |
- SENDGRID_CONTACT_TEMPLATE_ID | |
- SENDGRID_API_KEY | |
- EXCHANGE_RATE_API_KEY | |
- LINKEDIN_REDIRECT_URI | |
- LINKEDIN_CLIENT_SECRET | |
- LINKEDIN_CLIENT_ID | |
- FRONTEND_BASE | |
accessories: | |
db: | |
image: postgres:17-alpine | |
roles: | |
- web | |
- job | |
directories: | |
- data:/var/lib/postgresql/data | |
redis: | |
image: redis:latest | |
roles: | |
- web | |
- job | |
cmd: redis-server | |
directories: | |
- redis_data:/data | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment