updated postgres container name and url
This commit is contained in:
@@ -1,10 +1,6 @@
|
||||
NEXTAUTH_URL=http://localhost:3232/api/v1/auth
|
||||
NEXTAUTH_SECRET=pheimoo9roozahghaithais4Ooxiexahrie4ieph
|
||||
|
||||
# Manual installation database settings
|
||||
# Example: DATABASE_URL=postgresql://user:password@localhost:5432/linkwarden
|
||||
DATABASE_URL=
|
||||
|
||||
# Docker installation database settings
|
||||
POSTGRES_PASSWORD=siel9Oogoh8sheeghohqu7thaNoo6cet9eeyoJie
|
||||
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
services:
|
||||
postgres:
|
||||
linkwarden-postgres:
|
||||
container_name: linkwarden-postgres
|
||||
image: postgres:16-alpine
|
||||
env_file: .env
|
||||
restart: always
|
||||
@@ -13,7 +14,7 @@ services:
|
||||
container_name: linkwarden
|
||||
env_file: .env
|
||||
environment:
|
||||
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
|
||||
- DATABASE_URL=postgresql://linkwarden-postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
|
||||
restart: always
|
||||
ports:
|
||||
- 3232:3000
|
||||
@@ -23,7 +24,7 @@ services:
|
||||
volumes:
|
||||
- ./data:/data/data
|
||||
depends_on:
|
||||
- postgres
|
||||
- linkwarden-postgres
|
||||
|
||||
networks:
|
||||
linkwarden:
|
||||
|
||||
Reference in New Issue
Block a user