version: "3" services: sermon-notes: container_name: sermon-notes image: ryanprather/sermon-notes:latest command: - "php bin/console doctrine:migrations:migrate --no-interaction" - "bash install.sh" 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