Skip to content

Commit

Permalink
nocodb
Browse files Browse the repository at this point in the history
  • Loading branch information
Ruixian98 committed Nov 28, 2023
1 parent d702c91 commit 0c0ed9b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion apps/nocodb/.env
Original file line number Diff line number Diff line change
Expand Up @@ -12,5 +12,5 @@ W9_NETWORK=websoft9
W9_URL_REPLACE=false
W9_URL=appname.example.com
W9_DIST=community
W9_DB_EXPOSE="postgre"
W9_DB_EXPOSE="postgresql"
#### --------------------------------------------------------------------------------------- ####
8 changes: 4 additions & 4 deletions apps/nocodb/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,17 +16,17 @@ services:
volumes:
- "nocodb:/usr/app/data"
environment:
NC_DB: "pg://${W9_ID}-postgre:5432?u=${W9_ID}&p=${W9_DB_POSTGRESQL_PASSWORD}&d=${W9_ID}"
NC_DB: "pg://${W9_ID}-postgresql:5432?u=${W9_ID}&p=${W9_POWER_PASSWO}&d=${W9_ID}"

db:
image: postgres:latest
container_name: ${W9_ID}-postgre
hostname: ${W9_ID}-postgre
container_name: ${W9_ID}-postgresql
hostname: ${W9_ID}-postgresql
restart: unless-stopped
volumes:
- postgres:/var/lib/postgresql/data
environment:
POSTGRES_PASSWORD: 123456
POSTGRES_PASSWORD: ${W9_POWER_PASSWO}
POSTGRES_USER: ${W9_ID}
POSTGRES_DB: ${W9_ID}
healthcheck:
Expand Down

0 comments on commit 0c0ed9b

Please sign in to comment.