updated docker compose file to use the image from github packages.

This commit is contained in:
daniel31x13 2023-09-27 08:56:52 +03:30
parent 66c1c582f5
commit 420d9efb7e

View File

@ -8,11 +8,10 @@ services:
- ./pgdata:/var/lib/postgresql/data - ./pgdata:/var/lib/postgresql/data
linkwarden: linkwarden:
env_file: .env env_file: .env
platform: linux/x86_64
environment: environment:
- DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres - DATABASE_URL=postgresql://postgres:${POSTGRES_PASSWORD}@postgres:5432/postgres
restart: always restart: always
build: . image: ghcr.io/linkwarden/linkwarden:latest
ports: ports:
- 3000:3000 - 3000:3000
volumes: volumes: