Initial microservice-importer setup with NestJS backend and Next.js frontend

This commit is contained in:
Nils-Johan Gynther
2026-04-12 16:58:23 +02:00
commit 1608eb4d70
32 changed files with 1619 additions and 0 deletions
+34
View File
@@ -0,0 +1,34 @@
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