sermon-notes/docker-compose.yml

17 lines
642 B
YAML
Raw Normal View History

2024-05-17 10:14:16 -04:00
version: "3"
services:
sermon-notes:
command: "php bin/console doctrine:migrations:migrate --no-interaction"
build: .
environment:
- APP_ENV=prod
- DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db"
- MESSENGER_TRANSPORT_DSN=doctrine://default?auto_setup=0
# - DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app"
# - DATABASE_URL="mysql://app:!ChangeMe!@127.0.0.1:3306/app?serverVersion=10.11.2-MariaDB&charset=utf8mb4"
# - DATABASE_URL="postgresql://app:!ChangeMe!@127.0.0.1:5432/app?serverVersion=16&charset=utf8"
ports:
- "80:80"
volumes:
- .:/var/www/html