ваше сообщение коммита
This commit is contained in:
@@ -147,10 +147,9 @@ services:
|
||||
volumes:
|
||||
- ./id_rsa:/key:ro
|
||||
command: >
|
||||
sh -c "apk add --no-cache openssh && ssh -i /key -o StrictHostKeyChecking=no -N -R 0.0.0.0:9000:host.docker.internal:5173 root@185.221.214.140"
|
||||
sh -c "apk add --no-cache openssh && ssh -i /key -o StrictHostKeyChecking=no -N -R 0.0.0.0:9000:host.docker.internal:9000 root@185.221.214.140"
|
||||
restart: unless-stopped
|
||||
# network_mode: host <-- Эту строку удаляем
|
||||
extra_hosts: # <-- Эту секцию добавляем
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
ssh-tunnel-backend:
|
||||
@@ -161,10 +160,20 @@ services:
|
||||
command: >
|
||||
sh -c "apk add --no-cache openssh && ssh -i /key -o StrictHostKeyChecking=no -N -R 0.0.0.0:8000:host.docker.internal:8000 root@185.221.214.140"
|
||||
restart: unless-stopped
|
||||
# network_mode: host <-- Эту строку удаляем
|
||||
extra_hosts: # <-- Эту секцию добавляем
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
|
||||
frontend-nginx:
|
||||
build:
|
||||
context: ./frontend
|
||||
dockerfile: nginx.Dockerfile
|
||||
container_name: dapp-frontend-nginx
|
||||
restart: unless-stopped
|
||||
ports:
|
||||
- "9000:80" # 9000 — порт, который пробрасывается наружу/через туннель
|
||||
depends_on:
|
||||
- backend
|
||||
|
||||
volumes:
|
||||
postgres_data: null
|
||||
ollama_data: null
|
||||
|
||||
Reference in New Issue
Block a user