Files
me/docker-compose.yml
Giovanni Rezcjikov dd3def00cc
All checks were successful
continuous-integration/drone/push Build is passing
feat: increased security
2026-02-21 21:33:41 +03:00

36 lines
733 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:80/"]
interval: 30s
timeout: 10s
retries: 3
start_period: 10s
networks:
proxy:
external: true