Files
365devnet/docker-compose.yml
Richard Bergsma bc83d41673 Update network name in Docker Compose configuration for consistency
- Changed the network name from '365Devnet' to '365DevNet' in docker-compose.yml to ensure uniformity in naming conventions.
2025-11-05 00:19:32 +01:00

43 lines
979 B
YAML

version: '3.8'
services:
# Main Astro SSR Application
web:
build:
context: .
dockerfile: Dockerfile
container_name: 365devnet-web
restart: unless-stopped
ports:
- "3000"
environment:
- NODE_ENV=production
- PORT=3000
- ENABLE_SSR_CSP=1
# Add your other environment variables here
# - GEMINI_API_KEY=${GEMINI_API_KEY}
# - EMAIL_USER=${EMAIL_USER}
# - EMAIL_PASS=${EMAIL_PASS}
env_file:
- .env
volumes:
# Mount logs directory if you want to persist logs
- ./logs:/app/logs
networks:
- devnet
healthcheck:
test: ["CMD", "node", "-e", "require('http').get('http://localhost:3000/', (r) => {if (r.statusCode !== 200) throw new Error(r.statusCode)})"]
interval: 30s
timeout: 10s
retries: 3
start_period: 40s
networks:
devnet:
external: true
name: 365DevNet
# Optional: Add volumes for persistent data
volumes:
logs: