version: "3" services: sermon-notes: command: - "php bin/console doctrine:migrations:migrate --no-interaction" - "bash /var/www/html/install.sh" build: . environment: - APP_ENV=prod - DATABASE_URL="sqlite:///%kernel.project_dir%/data/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