diff --git a/.env-frontend.example b/.env-frontend.example new file mode 100644 index 0000000..f1098dd --- /dev/null +++ b/.env-frontend.example @@ -0,0 +1,8 @@ +###> symfony/framework-bundle ### +APP_ENV=dev +APP_SECRET=123456789abcdef123456789abcdef12 +###< symfony/framework-bundle ### + +###> doctrine/doctrine-bundle ### +DATABASE_URL=postgres://postgres:REPLACE_WITH_POSTGRES_PASSWORD@db:5432/postgres?sslmode=disable +###< doctrine/doctrine-bundle ### diff --git a/.gitignore b/.gitignore index 247bca6..fbcded1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,4 @@ .env +.env-frontend import_files/ public \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index 3b0b233..7851965 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -46,6 +46,9 @@ services: retries: 5 frontend: + env_file: + - .env + - .env-frontend build: context: ./frontend dockerfile: Dockerfile.prod