-
-
Save sapandiwakar/c99e555ed45f293c7b6b3edcd1dfec40 to your computer and use it in GitHub Desktop.
Minimal Kamal Deployment Configuration for Deploying a Phoenix Application
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: my-app | |
| image: my-org/my-app | |
| servers: | |
| web: | |
| - 192.168.1.100 | |
| proxy: | |
| ssl: true | |
| app_port: 4000 | |
| registry: | |
| server: ghcr.io | |
| username: ignore | |
| password: | |
| - REGISTRY_PASSWORD | |
| env: | |
| secret: | |
| - DATABASE_URL | |
| - SECRET_KEY_BASE | |
| aliases: | |
| console: app exec --interactive --reuse "/app/bin/my_app remote" | |
| shell: app exec --interactive --reuse "/bin/sh" | |
| logs: app logs -f | |
| builder: | |
| arch: amd64 | |
| cache: | |
| type: registry | |
| options: mode=max,image-manifest=true,oci-mediatypes=true | |
| ssh: | |
| user: my_user |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment