added docker bind mounts + bug fix

This commit is contained in:
Daniel
2023-08-03 17:54:04 -04:00
parent 01108a4bb4
commit a8009734a9
3 changed files with 41 additions and 28 deletions
+11 -13
View File
@@ -1,20 +1,18 @@
version: "3.5"
services:
linkwarden:
env_file: .env
environment:
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
restart: always
build: .
ports:
- 3000:3000
volumes:
- /var/lib/elasticsearch/data
postgres:
image: postgres
env_file: .env
restart: always
volumes:
- pgdata:/var/lib/postgresql/data
volumes:
pgdata:
- ./pgdata:/var/lib/postgresql/data
linkwarden:
env_file: .env
restart: always
build: .
ports:
- 3000:3000
volumes:
- ./data:/data/data
depends_on:
- postgres