30 lines
725 B
YAML
30 lines
725 B
YAML
# docker-compose.yml
|
|
version: '3.8'
|
|
|
|
services:
|
|
backend:
|
|
build:
|
|
context: .
|
|
dockerfile: backend/Dockerfile
|
|
ports:
|
|
- "5000:5000"
|
|
environment:
|
|
- DATABASE_URL=postgresql://postgres:a13k40yw@10.10.10.167:5432/automarket
|
|
- JWT_SECRET=9xdkVZRNkX2f2c6j8OsIN19M0KxdTeEQkDobfTfJbJr
|
|
- GEMINI_API_KEY=AIzaSyBW0EzWwf5wLS9Ad9SBZIMzseIuPLz_JSc
|
|
- OZON_CLIENT_ID=898289
|
|
- OZON_API_KEY=4467d825-d7aa-4804-abd0-9f9d2edef88e
|
|
volumes:
|
|
- ./backend/uploads:/app/backend/uploads
|
|
extra_hosts:
|
|
- "host.docker.internal:host-gateway"
|
|
|
|
frontend:
|
|
build:
|
|
context: .
|
|
dockerfile: frontend/Dockerfile
|
|
ports:
|
|
- "80:80"
|
|
depends_on:
|
|
- backend
|