mirror of
https://github.com/dominikhoebert/docker-projects.git
synced 2025-06-27 16:57:05 +00:00
added wygiwyh
This commit is contained in:
parent
d9118c7fcb
commit
92fd964f1a
2
.gitignore
vendored
2
.gitignore
vendored
@ -69,3 +69,5 @@ ollama/ollama/
|
|||||||
ollama/webui/
|
ollama/webui/
|
||||||
rustdesk/data/
|
rustdesk/data/
|
||||||
filezilla/config/
|
filezilla/config/
|
||||||
|
wygiwyh/postgres_data/
|
||||||
|
|
||||||
|
20
wygiwyh/.env
Normal file
20
wygiwyh/.env
Normal file
@ -0,0 +1,20 @@
|
|||||||
|
SERVER_NAME=wygiwyh_server
|
||||||
|
DB_NAME=wygiwyh_pg
|
||||||
|
PROCRASTINATE_NAME=wygiwyh_procrastinate
|
||||||
|
|
||||||
|
DEBUG=false
|
||||||
|
URL = http://localhost:8000
|
||||||
|
HTTPS_ENABLED=true
|
||||||
|
SECRET_KEY=<GENERATE A SAFE SECRET KEY AND PLACE IT HERE>
|
||||||
|
DJANGO_ALLOWED_HOSTS=localhost 127.0.0.1 [::1]
|
||||||
|
OUTBOUND_PORT=9005
|
||||||
|
|
||||||
|
SQL_ENGINE=django.db.backends.postgresql
|
||||||
|
SQL_DATABASE=wygiwyh
|
||||||
|
SQL_USER=wygiwyh
|
||||||
|
SQL_PASSWORD=testitest
|
||||||
|
SQL_HOST=${DB_NAME}
|
||||||
|
SQL_PORT=5432
|
||||||
|
|
||||||
|
# Gunicorn
|
||||||
|
WEB_CONCURRENCY=4
|
49
wygiwyh/compose.yml
Normal file
49
wygiwyh/compose.yml
Normal file
@ -0,0 +1,49 @@
|
|||||||
|
# https://github.com/eitchtee/WYGIWYH
|
||||||
|
|
||||||
|
#
|
||||||
|
|
||||||
|
name: wygiwyh
|
||||||
|
|
||||||
|
services:
|
||||||
|
web:
|
||||||
|
image: eitchtee/wygiwyh:latest
|
||||||
|
container_name: ${SERVER_NAME}
|
||||||
|
command: /start
|
||||||
|
ports:
|
||||||
|
- "${OUTBOUND_PORT}:8000"
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
|
||||||
|
db:
|
||||||
|
image: postgres:15
|
||||||
|
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}
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
|
||||||
|
procrastinate:
|
||||||
|
image: eitchtee/wygiwyh:latest
|
||||||
|
container_name: ${PROCRASTINATE_NAME}
|
||||||
|
depends_on:
|
||||||
|
- db
|
||||||
|
env_file:
|
||||||
|
- .env
|
||||||
|
command: /start-procrastinate
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
Loading…
x
Reference in New Issue
Block a user