aboutsummaryrefslogtreecommitdiff
path: root/communities/red-right-hand/174bg.net/production
diff options
context:
space:
mode:
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