Advertisement
Guest User

wiki.js

a guest
May 18th, 2025
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 0.65 KB | Source Code | 0 0
  1. services:
  2.   db:
  3.     image: postgres:17.4
  4.     container_name: postgres
  5.     environment:
  6.       POSTGRES_DB: postgres
  7.       POSTGRES_PASSWORD: postgres
  8.       POSTGRES_USER: postgres
  9.     logging:
  10.       driver: none
  11.     networks:
  12.     restart: unless-stopped
  13.     volumes:
  14.      - $DOCKERDIR/appdata/postgres:/config
  15.  
  16.   wiki:
  17.     image: ghcr.io/requarks/wiki:2
  18.     container_name: wiki.js
  19.     depends_on:
  20.      - db
  21.     environment:
  22.       DB_TYPE: postgres
  23.       DB_HOST: postgres
  24.       DB_PORT: 5432
  25.       DB_USER: postgres
  26.       DB_PASS: postgres
  27.       DB_NAME: postgres
  28.     restart: unless-stopped
  29.     networks:
  30.     ports: "3000:3000"
  31.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement