2026-02-24 09:30:19 +01:00
|
|
|
services:
|
2026-02-24 09:36:36 +01:00
|
|
|
paste-es:
|
2026-02-24 10:36:04 +01:00
|
|
|
image: devops.cloudhost.es/malin/paste.es:latest
|
2026-02-24 09:36:36 +01:00
|
|
|
container_name: paste-es
|
2026-02-24 09:30:19 +01:00
|
|
|
restart: unless-stopped
|
2026-02-24 09:36:36 +01:00
|
|
|
env_file:
|
|
|
|
|
- .env
|
2026-02-24 09:30:19 +01:00
|
|
|
volumes:
|
2026-02-24 09:36:36 +01:00
|
|
|
- ./data/database:/app/database
|
|
|
|
|
- ./data/uploads:/app/uploads
|
2026-02-24 09:30:19 +01:00
|
|
|
ports:
|
2026-02-24 09:36:36 +01:00
|
|
|
- '${PORT:-3000}:3000'
|
2026-02-24 09:30:19 +01:00
|
|
|
healthcheck:
|
|
|
|
|
test:
|
|
|
|
|
[
|
|
|
|
|
'CMD',
|
|
|
|
|
'wget',
|
|
|
|
|
'--no-verbose',
|
|
|
|
|
'--tries=1',
|
|
|
|
|
'--spider',
|
|
|
|
|
'http://localhost:3000/api/health/ready',
|
|
|
|
|
]
|
|
|
|
|
interval: 30s
|
|
|
|
|
timeout: 10s
|
|
|
|
|
retries: 3
|
2026-02-24 09:36:36 +01:00
|
|
|
start_period: 15s
|