Files
me/docker-compose.yml
root 1d6acfb43e
All checks were successful
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is passing
fix: healthcheck endpoint port fixed
2026-02-24 16:34:32 +00:00

36 lines
735 B
YAML

services:
app:
image: ${IMAGE}
container_name: me-app
networks:
- proxy
expose:
- 3000
environment:
- VIRTUAL_HOST=${VIRTUAL_HOST}
- VIRTUAL_PORT=${VIRTUAL_PORT}
- LETSENCRYPT_HOST=${LETSENCRYPT_HOST}
- LETSENCRYPT_EMAIL=${LETSENCRYPT_EMAIL}
restart: unless-stopped
read_only: true
security_opt:
- no-new-privileges:true
deploy:
resources:
limits:
memory: 512M
cpus: '0.50'
tmpfs:
- /tmp
- /app/.next/cache
healthcheck:
test: ["CMD", "wget", "-qO-", "http://localhost:3000/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
networks:
proxy:
external: true