added docker bind mounts + bug fix
This commit is contained in:
+11
-13
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user