Docker Compose for Nuxt
A Nuxt application. The intuitive Vue.js framework with SSR and static generation.
vue nuxt frontend fullstack
compose.yaml
services:
web:
build: .
ports:
- target: 3000
mode: ingress
environment:
- NITRO_HOST=0.0.0.0
- NITRO_PORT=3000
healthcheck:
test:
- CMD
- curl
- -f
- http://localhost:3000/
interval: 30s
timeout: 5s
retries: 3
deploy:
resources:
reservations:
cpus: "0.5"
memory: 256M
restart: unless-stopped
Services
- web .