Files
dropshell-templates/wikijs/docker-compose.yml
j d932a96731
All checks were successful
Test and Publish Templates / test-and-publish (push) Successful in 49s
docs: Add 1 and update 13 files
2025-12-18 21:55:59 +13:00

34 lines
813 B
YAML

services:
db:
image: postgres:15-alpine
container_name: ${CONTAINER_NAME}_db
restart: unless-stopped
environment:
POSTGRES_DB: ${DB_NAME}
POSTGRES_USER: ${DB_USER}
POSTGRES_PASSWORD: ${DB_PASS}
volumes:
- ${DATA_PATH}/postgres:/var/lib/postgresql/data
wikijs:
image: lscr.io/linuxserver/wikijs:${IMAGE_TAG}
container_name: ${CONTAINER_NAME}
restart: unless-stopped
depends_on:
- db
environment:
- PUID=${PUID}
- PGID=${PGID}
- TZ=${TZ}
- DB_TYPE=postgres
- DB_HOST=${CONTAINER_NAME}_db
- DB_PORT=5432
- DB_USER=${DB_USER}
- DB_PASS=${DB_PASS}
- DB_NAME=${DB_NAME}
volumes:
- ${DATA_PATH}/config:/config
- ${DATA_PATH}/data:/data
ports:
- "${HTTP_PORT}:3000"