Upload files to "linkwarden"
This commit is contained in:
parent
a35a636650
commit
a6135f3ca3
21
linkwarden/docker-compose.yml
Normal file
21
linkwarden/docker-compose.yml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
version: "3.5"
|
||||||
|
services:
|
||||||
|
postgres:
|
||||||
|
image: postgres:16-alpine
|
||||||
|
env_file: .env
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- ./pgdata:/var/lib/postgresql/data
|
||||||
|
linkwarden:
|
||||||
|
env_file: .env
|
||||||
|
environment:
|
||||||
|
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
|
||||||
|
restart: always
|
||||||
|
# build: . # uncomment this line to build from source
|
||||||
|
image: ghcr.io/linkwarden/linkwarden:latest # comment this line to build from source
|
||||||
|
ports:
|
||||||
|
- 3000:3000
|
||||||
|
volumes:
|
||||||
|
- ./data:/data/data
|
||||||
|
depends_on:
|
||||||
|
- postgres
|
||||||
Loading…
x
Reference in New Issue
Block a user