fix: remove custom networks for Coolify compatibility
This commit is contained in:
@@ -3,35 +3,25 @@ version: '3.8'
|
|||||||
services:
|
services:
|
||||||
backend:
|
backend:
|
||||||
build: ./backend
|
build: ./backend
|
||||||
container_name: psychologist-backend
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
expose:
|
expose:
|
||||||
- "3001"
|
- "3001"
|
||||||
env_file:
|
env_file:
|
||||||
- .env
|
- .env
|
||||||
networks:
|
|
||||||
- app-network
|
|
||||||
|
|
||||||
frontend:
|
frontend:
|
||||||
build:
|
build:
|
||||||
context: ./frontend
|
context: ./frontend
|
||||||
args:
|
args:
|
||||||
- VITE_API_URL=/api
|
- VITE_API_URL=/api
|
||||||
container_name: psychologist-frontend
|
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
expose:
|
expose:
|
||||||
- "80"
|
- "80"
|
||||||
depends_on:
|
depends_on:
|
||||||
- backend
|
- backend
|
||||||
networks:
|
|
||||||
- app-network
|
|
||||||
labels:
|
labels:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.http.routers.psychologist.rule=Host(`irinaintegra.ru`) || Host(`www.irinaintegra.ru`)"
|
- "traefik.http.routers.psychologist.rule=Host(`irinaintegra.ru`) || Host(`www.irinaintegra.ru`)"
|
||||||
- "traefik.http.routers.psychologist.entrypoints=websecure"
|
- "traefik.http.routers.psychologist.entrypoints=websecure"
|
||||||
- "traefik.http.routers.psychologist.tls.certresolver=letsencrypt"
|
- "traefik.http.routers.psychologist.tls.certresolver=letsencrypt"
|
||||||
- "traefik.http.services.psychologist.loadbalancer.server.port=80"
|
- "traefik.http.services.psychologist.loadbalancer.server.port=80"
|
||||||
|
|
||||||
networks:
|
|
||||||
app-network:
|
|
||||||
driver: bridge
|
|
||||||
|
|||||||
Reference in New Issue
Block a user