sermon-notes/docker-compose.yml

19 lines
691 B
YAML
Raw Normal View History

2024-05-17 10:14:16 -04:00
version: "3"
services:
sermon-notes:
2024-05-17 19:25:28 -04:00
command:
- "php bin/console doctrine:migrations:migrate --no-interaction"
- "bash /var/www/html/install.sh"
2024-05-17 10:14:16 -04:00
build: .
environment:
- APP_ENV=prod
2024-05-17 19:25:28 -04:00
- DATABASE_URL="sqlite:///%kernel.project_dir%/data/data.db"
2024-05-17 10:14:16 -04:00
- 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