📝 Update and organize project documentation and assets
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
|
||||
|
||||
``` yaml
|
||||
version: "3"
|
||||
services:
|
||||
db:
|
||||
image: postgres:16-alpine
|
||||
container_name: wikijs-db
|
||||
environment:
|
||||
POSTGRES_DB: wiki
|
||||
POSTGRES_USER: wikijs
|
||||
POSTGRES_PASSWORD: 0240761609241J@Cub$ # CHANGE THIS PASSWORD
|
||||
logging:
|
||||
driver: "none"
|
||||
volumes:
|
||||
- /volume1/docker/wikijs/db-data:/var/lib/postgresql/data
|
||||
restart: unless-stopped
|
||||
|
||||
wiki:
|
||||
image: requarks/wiki:latest
|
||||
container_name: wikijs-app
|
||||
depends_on:
|
||||
- db
|
||||
environment:
|
||||
DB_TYPE: postgres
|
||||
DB_HOST: db
|
||||
DB_PORT: 5432
|
||||
DB_USER: wikijs
|
||||
DB_PASS: 0240761609241J@Cub$ # MUST MATCH POSTGRES_PASSWORD
|
||||
DB_NAME: wiki
|
||||
# Optional: To skip setup wizard and pre-configure
|
||||
# ADMIN_EMAIL: admin@example.com
|
||||
# ADMIN_PASS: SecretPassword
|
||||
ports:
|
||||
- "9999:3000" # Maps port 8080 on NAS to 3000 in container
|
||||
volumes:
|
||||
- /volume1/docker/wikijs/data:/data
|
||||
restart: unless-stopped
|
||||
|
||||
```
|
||||
Reference in New Issue
Block a user