version: '3.8' services: postgres: image: postgres:15-alpine container_name: eurotorg_postgres environment: POSTGRES_DB: eurotorg_crm POSTGRES_USER: postgres POSTGRES_PASSWORD: password ports: - "5433:5432" volumes: - postgres_data:/var/lib/postgresql/data restart: unless-stopped backend: build: ./backend container_name: eurotorg_backend ports: - "8000:8000" env_file: - .env depends_on: - postgres restart: unless-stopped frontend: build: ./frontend container_name: eurotorg_frontend ports: - "3000:80" environment: - REACT_APP_API_URL=http://localhost:8000/api/v1 depends_on: - backend restart: unless-stopped volumes: postgres_data: