Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
services:
fizzy:
build:
context: .
env_file: .env
ports:
- 3000:3000
17 changes: 9 additions & 8 deletions config/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,16 +8,16 @@ image: fizzy
# Where to deploy fizzy
servers:
web:
- fizzy.example.com # Set your server name here
- 3.233.189.168

# How you connect to your server
ssh:
user: root # If you use a different username to SSH to your server, specify it here
user: ubuntu

# Automatic SSL
proxy:
ssl: true # Set this to false if you *don't* want SSL
host: fizzy.example.com # Set your server name here to use automatic SSL
ssl: true
host: fizzy.cedarcode.dev

# Your application configuration (secrets come from .kamal/secrets).
env:
Expand All @@ -28,18 +28,19 @@ env:
- SMTP_USERNAME
- SMTP_PASSWORD
clear:
BASE_URL: https://fizzy.example.com # The public URL of your Fizzy instance
MAILER_FROM_ADDRESS: support@example.com # The email "from" address that Fizzy sends email from
BASE_URL: https://fizzy.cedarcode.dev # The public URL of your Fizzy instance
MAILER_FROM_ADDRESS: fizzy@cedarcode.dev # The email "from" address that Fizzy sends email from
SMTP_ADDRESS: mail.example.com # The SMTP server you'll use to send email
MULTI_TENANT: false # Set to true to allow multiple accounts to sign up
SOLID_QUEUE_IN_PUMA: true # Run background jobs in the app container


#-- General configuration --#

# Use a local registry to deploy
registry:
server: localhost:5555
server: 864100757851.dkr.ecr.us-east-1.amazonaws.com
username: AWS
password: <%= %x(aws ecr get-login-password).strip %>
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: is the strip needed?

Suggested change
password: <%= %x(aws ecr get-login-password).strip %>
password: <%= %x(aws ecr get-login-password)%>


# Handy aliases for interacting with your deployment. For eaxmple: `bin/kamal console` will connect to a
# Rails console in production.
Expand Down