update docker compose
This commit is contained in:
@@ -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
|
||||
@@ -30,8 +26,9 @@ services:
|
||||
- "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:
|
||||
@@ -62,6 +59,7 @@ services:
|
||||
- "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,7 +120,7 @@ services:
|
||||
- npm
|
||||
restart: unless-stopped
|
||||
volumes:
|
||||
- ./mautrix:/data
|
||||
- /opt/docker/mautrix:/data
|
||||
environment:
|
||||
- TZ=Asia/Vladivostok
|
||||
ports:
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user