Skip to content
This repository was archived by the owner on Aug 7, 2025. It is now read-only.

Commit 87fee9b

Browse files
committed
.
1 parent c1a4356 commit 87fee9b

File tree

8 files changed

+33
-33
lines changed

8 files changed

+33
-33
lines changed

docs/exhaustive-documentation/crons.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
---
2-
sidebar_position: 2
3-
---
4-
51
# Crons
62

73
You can specify crons in your `disco.json` file:

docs/exhaustive-documentation/environment-variables.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
---
2-
sidebar_position: 1
3-
---
4-
51
# Environment Variables
62

73
To set environment variables for you project, you can use the CLI commands:

docs/exhaustive-documentation/images.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
---
2-
sidebar_position: 6
3-
---
4-
51
# Images
62

73
Each service uses a Docker image.

docs/exhaustive-documentation/ports.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
1-
---
2-
sidebar_position: 7
3-
---
4-
5-
# Ports
1+
# Network Ports
62

73
## Web
84

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# PostgreSQL
2+
3+
disco provides a "good enough" Postgres addon.
4+
5+
## Introduction
6+
7+
disco provides a "good enough" Postgres addon.
8+
9+
This addon is a great way to quickly setup a database when Postgres is not mission critical to your system. If you need any non-basic features, like replication, automatic failover, monitoring, automatic backups and restore, etc. you should consider using a managed Postgres provider, such as [Neon](https://neon.tech/) or [Supabase](https://supabase.com/).
10+
11+
## How to add Postgres to your project
12+
13+
We assume that you've deployed a project using disco.
14+
15+
Once your project is live, you can run the following command:
16+
17+
```bash
18+
disco postgres:create --project PROJECTNAME
19+
```
20+
21+
replacing `PROJECTNAME` with the name of your project.
22+
23+
This command will provision a Postgres database and attach it to your project. Once it's done, an environment variable named `DATABASE_URL` will be added to your project. This variable will contain the URL to your Postgres database.
24+
25+
---
26+
27+
You can read more about the Postgres addon in the [advanced docs](/docs/exhaustive-documentation/postgresql.md).
28+

docs/exhaustive-documentation/postgresql.md

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,10 @@
1-
---
2-
sidebar_position: 4
3-
---
1+
# PostgreSQL (Advanced)
42

5-
# PostgreSQL
3+
## Introduction
64

7-
Disco provides a "good enough" Postgres addon.
5+
disco provides a "good enough" Postgres addon.
86

9-
## Good Enough
10-
11-
The Postgres addon is a great way to quickly have access to Postgres when Postgres is not mission critical to your system. If you need any non-basic features, like replication, automatic failover, monitoring, automatic backups and restore, etc. you should use a more serious solution, like a managed Postgres.
7+
This addon is a great way to quickly setup a database when Postgres is not mission critical to your system. If you need any non-basic features, like replication, automatic failover, monitoring, automatic backups and restore, etc. you should consider using a managed Postgres provider, such as [Neon](https://neon.tech/) or [Supabase](https://supabase.com/).
128

139
## TL;DR
1410

docs/exhaustive-documentation/volumes.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
---
2-
sidebar_position: 5
3-
---
4-
51
# Volumes
62

73
In some cases, you may need to store data that outlives a container lifetime. You can achieve this using volumes.

docs/exhaustive-documentation/worker-processes.md

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
---
2-
sidebar_position: 3
3-
---
4-
51
# Worker Processes
62

73
In your `disco.json` file, you can define many services. The one that has the name `web` will be exposed to the internet by Disco. The other ones will just run.

0 commit comments

Comments
 (0)