mirror of
https://gitlab.sectorq.eu/home/docker-compose.git
synced 2026-03-14 22:30:01 +01:00
build
This commit is contained in:
33
linkwarden/docker-compose.yml
Normal file
33
linkwarden/docker-compose.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
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 to build from source
|
||||
image: ghcr.io/linkwarden/linkwarden:latest # comment to build from source
|
||||
ports:
|
||||
- 3011:3000
|
||||
volumes:
|
||||
- data:/data/data
|
||||
depends_on:
|
||||
- postgres
|
||||
- meilisearch
|
||||
meilisearch:
|
||||
image: getmeili/meilisearch:v1.12.8
|
||||
restart: always
|
||||
env_file:
|
||||
- .env
|
||||
volumes:
|
||||
- meili_data:/meili_data
|
||||
|
||||
volumes:
|
||||
pgdata:
|
||||
data:
|
||||
meili_data:
|
||||
Reference in New Issue
Block a user