Files
project-manager/docker-compose.yml
T

19 lines
479 B
YAML
Raw Normal View History

2026-09-03 17:45:35 +01:00
services:
app:
build: .
image: php-todo-list
ports:
- "8080:80"
environment:
APP_DEBUG: "${APP_DEBUG:-false}"
# Leave blank to auto-generate a secret into the storage volume on first run.
JWT_SECRET: "${JWT_SECRET:-}"
JWT_TTL: "${JWT_TTL:-86400}"
volumes:
# Persists the SQLite database and the generated signing key across restarts.
- storage:/var/www/html/storage
restart: unless-stopped
volumes:
storage: