Files
Rs_blog_front/docker-compose.yml
2026-02-12 00:34:21 +08:00

18 lines
502 B
YAML

version: '3.8'
services:
blog-frontend:
container_name: blog-frontend
build:
context: .
dockerfile: Dockerfile
args:
# REPLACE THIS with your actual backend URL (e.g., https://api.yourdomain.com)
# Since this is a client-side var, it cannot be "localhost" if accessed from outside the server.
NEXT_PUBLIC_API_URL: https://your-backend-url.com
restart: always
ports:
- "127.0.0.1:3367:3000"
environment:
- NODE_ENV=production