summaryrefslogtreecommitdiff
path: root/.env.example
diff options
context:
space:
mode:
authorDawid Rycerz <dawid@rycerz.xyz>2025-03-23 17:11:39 +0100
committerDawid Rycerz <dawid@rycerz.xyz>2025-04-05 21:16:51 +0200
commit0ab2e5ba2b0631b28b5b1405559237b3913c878f (patch)
tree791cea788b0a62bc483d0041fbd0c655d2ad49e8 /.env.example
feat: initialize Phoenix application for weather alerts
This commit sets up the initial Silmataivas project structure, including: Phoenix web framework configuration, database models for users and locations, weather polling service, notification system, Docker and deployment configurations, CI/CD pipeline setup
Diffstat (limited to '.env.example')
-rw-r--r--.env.example18
1 files changed, 18 insertions, 0 deletions
diff --git a/.env.example b/.env.example
new file mode 100644
index 0000000..4aac524
--- /dev/null
+++ b/.env.example
@@ -0,0 +1,18 @@
+# Database configuration
+# Options for DB_ADAPTER: "sqlite" or "postgres"
+DB_ADAPTER=sqlite
+# For SQLite, use sqlite3:/path/to/db.sqlite or leave empty for default
+# For PostgreSQL, use postgres://user:password@host/database or leave empty for default
+DATABASE_URL=
+
+# API Keys
+OPENWEATHERMAP_API_KEY=your-api-key-here
+
+# AWS/SES for emails
+AWS_ACCESS_KEY_ID=your-access-key-id
+AWS_SECRET_ACCESS_KEY=your-secret-access-key
+
+# General
+SECRET_KEY_BASE=use-mix-phx-gen-secret-to-generate
+PHX_HOST=localhost
+PORT=4000 \ No newline at end of file