added new apps

This commit is contained in:
2025-09-01 08:24:28 +00:00
parent 742083f530
commit 4dcf99661c
7 changed files with 214 additions and 2 deletions

View File

@@ -0,0 +1,8 @@
services:
code:
tty: true
ports:
- 9980:9980
environment:
- extra_params=--o:ssl.enable=false
image: collabora/code

View File

@@ -3,5 +3,13 @@ include:
- ./portainer/docker-compose.yaml
- ./code-server/docker-compose.yaml
- ./filebrowser/docker-compose.yaml
- ./authentik/docker-compose.yaml
- ./homepage/docker-compose.yaml
# - ./authentik/docker-compose.yaml
# - ./homepage/docker-compose.yaml
#./nextcloud
#./collabora
#./dovecot
#./element-web
#./homepage
#./nginx
#./ollama
#./searxng

View File

@@ -0,0 +1,17 @@
services:
dovecot:
volumes:
- dovecot_data/conf.d:/etc/dovecot/conf.d
- dovecot_data/vmail:/srv/vmail
ports:
- 143:31143
- 993:31993
image: dovecot/dovecot:latest
networks:
- haven_internal
networks:
haven_internal:
name: haven_internal
external: true
volumes:
dovecot_data:

View File

@@ -0,0 +1,16 @@
services:
element-web:
ports:
- 8083:80
volumes:
- element-web_data/config.json:/app/config.json
#attachements?
image: vectorim/element-web
networks:
- haven_internal
networks:
haven_internal:
name: haven_internal
external: true
volumes:
element-web_data:

View File

@@ -0,0 +1,72 @@
services:
nextcloud_maria_db:
container_name: nextcloud_maria_db
image: mariadb:lts
restart: always
command: --transaction-isolation=READ-COMMITTED
volumes:
- nextcloud_maria_db:/var/lib/mysql
environment:
- MYSQL_ROOT_PASSWORD=Swissbank01
- MYSQL_PASSWORD=Swissbank01
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
networks:
- haven_internal
nextcloud_redis_db:
container_name: nextcloud_redis_db
image: redis:alpine
restart: always
networks:
- haven_internal
nextcloud_proxy:
image: nginx:alpine-slim
restart: always
user: 1000:1000
ports:
- 8090:80
depends_on:
- nextcloud_app
volumes:
# https://docs.nextcloud.com/server/latest/admin_manual/installation/nginx.html
- nextcloud_nginx_data/nginx.conf:/etc/nginx/nginx.conf:ro
volumes_from:
- nextcloud_app
nextcloud_app:
image: nextcloud
user: 1000:1000
container_name: nextcloud_app
restart: always
depends_on:
- nextcloud_redis_db
- nextcloud_maria_db
volumes:
- nextcloud_data/root:/var/www/html
- nextcloud_data/custom_apps:/var/www/html/custom_apps
- nextcloud_data/config:/var/www/html/config
- nextcloud_data/data:/var/www/html/data
- nextcloud_data/themes:/var/www/html/themes
environment:
- MYSQL_PASSWORD=Swissbank01
- MYSQL_DATABASE=nextcloud
- MYSQL_USER=nextcloud
- MYSQL_HOST=nextcloud_maria_db
- OVERWRITEHOST=nextcloud.grungyriffchugger.hvn.nz
- OVERWRITEPROTOCOL=https
- TRUSTED_PROXIES=172.21.0.0/16
- NEXTCLOUD_TRUSTED_DOMAINS=nextcloud.grungyriffchugger.hvn.nz
- NEXTCLOUD_ADMIN_USER=havenuser
- NEXTCLOUD_ADMIN_PASSWORD=Swissbank01
networks:
- haven_internal
networks:
haven_internal:
name: haven_internal
external: true
volumes:
nextcloud_data:
nextcloud_maria_db:
nextcloud_nginx_data:

View File

@@ -0,0 +1,36 @@
services:
ollama-webui:
#build:
#dockerfile: Dockerfile
image: ghcr.io/open-webui/open-webui:ollama
container_name: ollama-webui
ports:
- 3001:8081
environment:
- "OLLAMA_API_BASE_URL=http://ollama-webui:11434/api"
- "PORT=8081"
- "OPENAI_API_BASE_URL="
- "OPENAI_API_KEY=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"
- 'ENABLE_OAUTH_SIGNUP=true'
- 'OAUTH_MERGE_ACCOUNTS_BY_EMAIL=true'
- 'OAUTH_PROVIDER_NAME=Authentik'
- 'OPENID_PROVIDER_URL=https://authentik.grungyriffchugger.hvn.nz/application/o/ollama/.well-known/openid-configuration'
- 'OAUTH_CLIENT_ID=CFp1eAtlDhq5xPnTDkFQP1FgfmXMZcabgX0fBhyw'
- 'OAUTH_CLIENT_SECRET=eg0CrgMi8uzXwhttrcUSyZJt9TxIAWCyLo4HcKOXVkOUCzreasMN0agyCRv3ADnHGyLcKeZbwFQAoa4yv4Q9pD9NS8XXWCabgPGGYZPiCTCjj9WN17bI0mcKTlcw7XP9'
- 'OAUTH_SCOPES=openid email profile'
- 'OPENID_REDIRECT_URI=https://ollama.grungyriffchugger.hvn.nz/oauth/oidc/callback'
extra_hosts:
- host.docker.internal:host-gateway
restart: unless-stopped
volumes:
- ollama_data:/app/backend/data
- havenuser_data:/mnt/userdata
networks:
- haven_internal
networks:
haven_internal:
name: haven_internal
external: true
volumes:
ollama_data:
havenuser_data:

View File

@@ -0,0 +1,55 @@
services:
redis:
container_name: redis
image: docker.io/valkey/valkey:8-alpine
command: valkey-server --save 30 1 --loglevel warning
restart: unless-stopped
networks:
- haven_internal
volumes:
- /mnt/appdata/searxng-db/data:/data
cap_drop:
- ALL
cap_add:
- SETGID
- SETUID
- DAC_OVERRIDE
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
searxng:
container_name: searxng
image: docker.io/searxng/searxng:latest
restart: unless-stopped
ports:
- "8080:8080"
volumes:
- searxng:/etc/searxng:rw
environment:
- SEARXNG_BASE_URL=https://${SEARXNG_HOSTNAME:-search.grungyriffchugger.hvn.nz}/
- UWSGI_WORKERS=${SEARXNG_UWSGI_WORKERS:-4}
- UWSGI_THREADS=${SEARXNG_UWSGI_THREADS:-4}
- PUID=1000 # for UserID
- PGID=1000 # for GroupID
cap_drop:
- ALL
cap_add:
- CHOWN
- SETGID
- SETUID
logging:
driver: "json-file"
options:
max-size: "1m"
max-file: "1"
networks:
- haven_internal
networks:
haven_internal:
name: haven_internal
external: true
volumes:
searxng: