Skip to content

Instantly share code, notes, and snippets.

@rbnpercy
Created July 6, 2018 19:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rbnpercy/0fca293c62b491a9e5d341ae5d4bf557 to your computer and use it in GitHub Desktop.
Save rbnpercy/0fca293c62b491a9e5d341ae5d4bf557 to your computer and use it in GitHub Desktop.
# Configure :ex_aws
config :ex_aws,
access_key_id: "ACCESS_KEY",
secret_access_key: "ACCESS_SECRET",
s3: [
scheme: "https://",
host: "YOUR-BUCKET.s3.amazonaws.com",
region: "eu-west-2"
]
# Configure your database
config :imagey, Imagey.Repo,
adapter: Ecto.Adapters.Postgres,
username: "imagey_dev",
password: "db_password",
database: "imagey_dev",
hostname: "localhost",
pool_size: 10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment