api-server / docker-compose.yml
XWX-AI's picture
feat: add environment-aware logging and dual-environment support
00d6248
raw
history blame contribute delete
557 Bytes
version: '3.8'
services:
pdf-prod:
build: .
container_name: pdf-prod
restart: always
ports:
- "7860:7860"
environment:
- NODE_ENV=production
- PORT=7860
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"
pdf-test:
build: .
container_name: pdf-test
restart: always
ports:
- "7861:7860"
environment:
- NODE_ENV=test
- PORT=7860
logging:
driver: "json-file"
options:
max-size: "10m"
max-file: "3"