add wyhiwyh

This commit is contained in:
2026-01-28 11:59:56 +01:00
parent 076b82aa1f
commit e2b81e781a
2 changed files with 29 additions and 0 deletions

22
WYGIWYH/compose.yaml Normal file
View File

@@ -0,0 +1,22 @@
services:
web:
image: eitchtee/wygiwyh:latest
container_name: ${SERVER_NAME}
ports:
- "${OUTBOUND_PORT:-8000}:${INTERNAL_PORT:-8000}"
env_file:
- .env
depends_on:
- db
restart: unless-stopped
db:
image: postgres:15-bookworm
container_name: ${DB_NAME}
restart: unless-stopped
volumes:
- ./postgres_data:/var/lib/postgresql/data/
environment:
- POSTGRES_USER=${SQL_USER}
- POSTGRES_PASSWORD=${SQL_PASSWORD}
- POSTGRES_DB=${SQL_DATABASE}

7
WYGIWYH/example.env Normal file
View File

@@ -0,0 +1,7 @@
# ContainerName
SERVER_NAME=wygiwyh
# Database Config
DB_NAME=sql-database
SQL_USER=username
SQL_PASSWORD=changeme
SQL_DATABASE=changeme