- Rewrite README entirely in Spanish referencing paste.es / cloudhost.es - Update docker-compose to build from local Dockerfile, use .env file, mount data/ volumes and respect PORT env var - Add .env.example with full commented reference for all supported HEMMELIG_* variables (analytics disabled by default for privacy) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
29 lines
749 B
YAML
29 lines
749 B
YAML
services:
|
|
paste-es:
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile
|
|
container_name: paste-es
|
|
restart: unless-stopped
|
|
env_file:
|
|
- .env
|
|
volumes:
|
|
- ./data/database:/app/database
|
|
- ./data/uploads:/app/uploads
|
|
ports:
|
|
- '${PORT:-3000}:3000'
|
|
healthcheck:
|
|
test:
|
|
[
|
|
'CMD',
|
|
'wget',
|
|
'--no-verbose',
|
|
'--tries=1',
|
|
'--spider',
|
|
'http://localhost:3000/api/health/ready',
|
|
]
|
|
interval: 30s
|
|
timeout: 10s
|
|
retries: 3
|
|
start_period: 15s
|