diff --git a/.env b/.env index 55b595c..8f9106b 100644 --- a/.env +++ b/.env @@ -24,5 +24,5 @@ APP_SECRET=8a390490e448f181dd8d3e6bd38efe6a # # DATABASE_URL="sqlite:///%kernel.project_dir%/var/data.db" # DATABASE_URL="mysql://db_user:db_password@127.0.0.1:3306/db_name?serverVersion=5.7" -DATABASE_URL="postgresql://postgres:postgres@127.0.0.1:5432/plantex?serverVersion=13&charset=utf8" +DATABASE_URL="postgresql://postgres:develop@127.0.0.1:5432/plantex?serverVersion=13&charset=utf8" ###< doctrine/doctrine-bundle ### diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..3e725ef --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,21 @@ +version: '3' + +services: + db: + image: postgres:latest + environment: + POSTGRES_PASSWORD: develop + ports: + - 5432:5432 + + pgadmin: + image: dpage/pgadmin4 + environment: + PGADMIN_DEFAULT_EMAIL: admin@admin.com + PGADMIN_DEFAULT_PASSWORD: root + ports: + - "8001:80" + + mailer: + image: schickling/mailcatcher + ports: [1025,1080] \ No newline at end of file