Postgres
Image: postgres:17
- Port 5432/tcp
- 10 GB volume at /var/lib/postgresql/data
- 1 vCPU · 1 GB
Template · Other
URL shortener with stats, REST API and PostgreSQL.
Opens the dashboard with this template pre-selected. Sign in with GitHub if you are new; the free tier needs no card.
2 services in the environment you pick, on the private network of the project.
shlinkio/shlink:stable + PostgreSQL 17. Create API keys with shlink api-key:generate inside the container.
Image: postgres:17
Image: shlinkio/shlink:stable
Generated secrets never leave the platform; references are resolved on the private network. Anything marked required is asked for at deploy time.
| Name | Value |
|---|---|
| POSTGRES_USER | postgresSuperuser name |
| POSTGRES_PASSWORD | generated (password)Generated at deploy |
| POSTGRES_DB | shlinkDatabase created on first start |
| PGDATA | /var/lib/postgresql/data/pgdata |
| DATABASE_URL | postgresql://${{self.POSTGRES_USER}}:${{self.POSTGRES_PASSWORD}}@${{self.SKIFFLY_PRIVATE_DOMAIN}}:5432/${{self.POSTGRES_DB}}Connection string on the private network |
| Name | Value |
|---|---|
| DEFAULT_DOMAIN | ${{self.SKIFFLY_PUBLIC_DOMAIN}} |
| IS_HTTPS_ENABLED | true |
| DB_DRIVER | postgres |
| DB_HOST | ${{Postgres.SKIFFLY_PRIVATE_DOMAIN}} |
| DB_PORT | 5432 |
| DB_NAME | ${{Postgres.POSTGRES_DB}} |
| DB_USER | ${{Postgres.POSTGRES_USER}} |
| DB_PASSWORD | ${{Postgres.POSTGRES_PASSWORD}} |
| INITIAL_API_KEY | generated (uuid)First API key |
Volumes, secrets and domain pre-wired. Runs on EU nodes, paid per minute from a prepaid balance.