update docker compose

This commit is contained in:
2025-12-26 18:39:36 +10:00
parent d051cd19f3
commit 086dcaedbb

View File

@@ -11,14 +11,10 @@ networks:
ipam:
config:
- subnet: 172.20.0.0/16
# wg_net:
# # Внешняявв сеть интерфейс WireGuard
# external: true
# name: wg0
services:
synapse:
image: matrixdotorg/synapse:latest
image: c5ada12052bb
networks:
- npm
container_name: matrix_synapse
@@ -27,11 +23,12 @@ services:
- SYNAPSE_REPORT_STATS=no
- TZ=Asia/Vladivostok
ports:
- "8008:8008"
- "8448:8448"
- "8008:8008"
- "8448:8448"
volumes:
- ./synapse/data:/data
- ./mautrix:/briges
- /opt/docker/synapse/data:/data
- /opt/matrix:/media
- /opt/docker/mautrix:/briges
restart: unless-stopped
drawio:
@@ -40,17 +37,17 @@ services:
- npm
container_name: drawio
ports:
- "8280:8080"
- "8280:8080"
restart: unless-stopped
apache:
image: httpd:2.4
apache:
image: httpd:2.4
networks:
- npm
ports:
- 8281:80
volumes:
- ./src:/usr/local/apache2/htdocs
- 8281:80
volumes:
- ./src:/usr/local/apache2/htdocs
restart: unless-stopped
static-nginx:
@@ -59,9 +56,10 @@ services:
networks:
- npm
ports:
- "8282:80"
- "8282:80"
volumes:
- ./nginx-site:/usr/share/nginx/html:ro
# - /opt/media:/user/share/nginx/media
restart: unless-stopped
npm-app:
@@ -109,7 +107,8 @@ services:
- USER_UID=1000
- USER_GID=1000
volumes:
- ./gitea/data:/data
- /opt/docker/gitea/data:/data
- /opt/gitea/git:/data/git
ports:
- "3000:3000"
- "2222:22"
@@ -121,12 +120,12 @@ services:
- npm
restart: unless-stopped
volumes:
- ./mautrix:/data
- /opt/docker/mautrix:/data
environment:
- TZ=Asia/Vladivostok
ports:
- "29371:29371"
registry:
image: registry:latest
networks:
@@ -142,12 +141,12 @@ services:
ports:
- "5000:5000"
volumes:
- ./registry/registry.password:/auth/registry.password
- /opt/docker/registry/registry.password:/auth/registry.password
#- ./registry/certs:/certs
- ./registry/data:/data
- /opt/registry/data:/data
open-webui:
image: ghcr.io/open-webui/open-webui:git-3111d1b-ollama
image: ghcr.io/open-webui/open-webui:main
container_name: open-webui
networks:
- npm
@@ -160,12 +159,12 @@ services:
environment:
- OLLAMA_BASE_URL=http://ollama:11434
volumes:
- ./open-webui:/app/backend/data
- /opt/docker/open-webui:/app/backend/data
depends_on:
- ollama
ollama:
image: ollama/ollama
image: ollama/ollama:latest
container_name: ollama
networks:
- ollama_net
@@ -175,28 +174,12 @@ services:
ports:
- "11434:11434"
volumes:
- ./ollama:/root/.ollama/
- /opt/ollama:/root/.ollama/
healthcheck:
test: ollama --version || exit 1
#entrypoint: /root/entrypoint.sh
# wireguard:
# image: lscr.io/linuxserver/wireguard:latest
# container_name: wireguard_vpn
# # networks:
# # - npm
# cap_add:
# - NET_ADMIN
# - SYS_MODULE
# sysctls:
# - net.ipv4.conf.all.src_valid_mark=1
# ports:
# - "51820:51820/udp"
# volumes:
# - ./wireguard:/config
# restart: unless-stopped
volumes:
synapse_data:
npm_data: