2
0
forked from jmug/cactoide

fix minor port, docs inconsistencies

Signed-off-by: Nandor Magyar <nandormagyar.it@gmail.com>
This commit is contained in:
Nandor Magyar
2025-10-24 15:08:41 +02:00
parent 75fa7a9528
commit bb573c603a
4 changed files with 18 additions and 8 deletions

13
.env.docker.example Normal file
View File

@@ -0,0 +1,13 @@
# Postgres configuration
POSTGRES_DB=cactoide_database
POSTGRES_USER=cactoide
POSTGRES_PASSWORD=cactoide_password
POSTGRES_PORT=5432
# Application configuration
DATABASE_URL="postgres://cactoide:cactoide_password@postgres:5432/cactoide_database"
APP_VERSION=latest
PORT=5173
HOSTNAME=0.0.0.0
PUBLIC_LANDING_INFO=true

View File

@@ -4,14 +4,10 @@ POSTGRES_USER=cactoide
POSTGRES_PASSWORD=cactoide_password
POSTGRES_PORT=5432
# localhost
DATABASE_URL="postgres://cactoide:cactoide_password@localhost:5432/cactoide_database"
# docker
# DATABASE_URL="postgres://cactoide:cactoide_password@postgres:5432/cactoide_database"
# Application configuration
DATABASE_URL="postgres://cactoide:cactoide_password@localhost:5432/cactoide_database"
APP_VERSION=latest
PORT=3000
PORT=5173
HOSTNAME=0.0.0.0
PUBLIC_LANDING_INFO=true

1
.gitignore vendored
View File

@@ -17,6 +17,7 @@ Thumbs.db
.env.*
!.env.example
!.env.test
!.env.docker.example
# Vite
vite.config.js.timestamp-*

View File

@@ -37,7 +37,7 @@ Uses the [`docker-compose.yml`](docker-compose.yml) file to setup the applicatio
```bash
git clone https://github.com/polaroi8d/cactoide/
cd cactoide
cp env.example .env
cp .env.docker.example .env
docker compose up -d
```
@@ -46,7 +46,7 @@ docker compose up -d
```bash
git clone https://github.com/polaroi8d/cactoide/
cd cactoide
cp env.example .env
cp .env.example .env
make db-only
npm run dev -- --open
```