aboutsummaryrefslogtreecommitdiff
path: root/communities/red-right-hand/174bg.net/production
diff options
context:
space:
mode:
authorAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-13 16:36:35 +0100
committerAlex Pooley (@zuedev) <zuedev@gmail.com>2026-05-13 16:36:35 +0100
commit5c834e269bfff00b92ee63862cbbc7165743de9e (patch)
treebe15791166e572b246dd7a4adba0cf66d3bffe08 /communities/red-right-hand/174bg.net/production
parent7dd09b51c733532ecb54951237f94368dd11badd (diff)
downloadunnamed-group-5c834e269bfff00b92ee63862cbbc7165743de9e.tar
unnamed-group-5c834e269bfff00b92ee63862cbbc7165743de9e.tar.gz
unnamed-group-5c834e269bfff00b92ee63862cbbc7165743de9e.tar.bz2
unnamed-group-5c834e269bfff00b92ee63862cbbc7165743de9e.tar.xz
unnamed-group-5c834e269bfff00b92ee63862cbbc7165743de9e.zip
add better-auth
Diffstat (limited to 'communities/red-right-hand/174bg.net/production')
-rw-r--r--communities/red-right-hand/174bg.net/production/.env.174bg-net.example5
-rw-r--r--communities/red-right-hand/174bg.net/production/.env.postgres.example1
-rw-r--r--communities/red-right-hand/174bg.net/production/docker-compose.yaml11
3 files changed, 16 insertions, 1 deletions
diff --git a/communities/red-right-hand/174bg.net/production/.env.174bg-net.example b/communities/red-right-hand/174bg.net/production/.env.174bg-net.example
new file mode 100644
index 0000000..a2c6b85
--- /dev/null
+++ b/communities/red-right-hand/174bg.net/production/.env.174bg-net.example
@@ -0,0 +1,5 @@
+# openssl rand -base64 32
+BETTER_AUTH_SECRET=
+
+# base URL of your app
+BETTER_AUTH_URL= \ No newline at end of file
diff --git a/communities/red-right-hand/174bg.net/production/.env.postgres.example b/communities/red-right-hand/174bg.net/production/.env.postgres.example
new file mode 100644
index 0000000..795f3af
--- /dev/null
+++ b/communities/red-right-hand/174bg.net/production/.env.postgres.example
@@ -0,0 +1 @@
+POSTGRES_PASSWORD= \ No newline at end of file
diff --git a/communities/red-right-hand/174bg.net/production/docker-compose.yaml b/communities/red-right-hand/174bg.net/production/docker-compose.yaml
index b5d38b3..333c058 100644
--- a/communities/red-right-hand/174bg.net/production/docker-compose.yaml
+++ b/communities/red-right-hand/174bg.net/production/docker-compose.yaml
@@ -5,4 +5,13 @@ services:
ports:
- "3000:3000/tcp"
- "3000:3000/udp"
- env_file: 174bg-net.env # we don't include this file for obvious reasons, but it should contain the necessary environment variables for the application to run
+ env_file: .env.174bg-net # we don't include this file for obvious reasons, but it should contain the necessary environment variables for the application to run
+
+ postgres:
+ image: postgres:18
+ env_file: .env.postgres
+ ports:
+ - "5432:5432"
+ volumes:
+ - postgres-data:/var/lib/postgresql/data
+ restart: unless-stopped