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