35 lines
749 B
YAML
35 lines
749 B
YAML
services:
|
|
importer-frontend:
|
|
build:
|
|
context: ./frontend
|
|
dockerfile: Dockerfile
|
|
container_name: importer-frontend
|
|
restart: unless-stopped
|
|
environment:
|
|
NEXT_PUBLIC_API_URL_INTERNAL: "http://importer-api:3001"
|
|
ports:
|
|
- "3000:3000"
|
|
networks:
|
|
- importer-network
|
|
depends_on:
|
|
- importer-api
|
|
|
|
importer-api:
|
|
build:
|
|
context: .
|
|
dockerfile: backend/Dockerfile
|
|
image: recipe-importer-api:local
|
|
container_name: importer-api
|
|
restart: unless-stopped
|
|
environment:
|
|
NODE_ENV: "production"
|
|
PORT: "3001"
|
|
ports:
|
|
- "3001:3001"
|
|
networks:
|
|
- importer-network
|
|
|
|
networks:
|
|
importer-network:
|
|
driver: bridge
|