diff --git a/.env.example b/.env.example index 1c3e1628..5dfbf445 100644 --- a/.env.example +++ b/.env.example @@ -2,27 +2,5 @@ # With custom namespace provided, it will be used to prefix all services # in Docker network for current project COMPOSE_PROJECT_NAME=laravel-symfony-serializer -APP_ENV=production - -DB_CONNECTION=pgsql -DB_HOST=pgsql -DB_PORT=5432 - -DB_DATABASE=default -DB_USERNAME=root -DB_PASSWORD=password - -DB_MYSQL_FORWARD_PORT=13307 -DB_PGSQL_FORWARD_PORT=15433 XDEBUG_MODE=coverage - -CYCLE_ADAPTER_QUEUE_INTEGRATION=false -CYCLE_ADAPTER_SESSION_INTEGRATION=false -CYCLE_ADAPTER_CACHE_INTEGRATION=false - -CYCLE_ATTRIBUTES_CACHE=true -CYCLE_ATTRIBUTES_CACHE_DRIVER=array - -CYCLE_SCHEMA_CACHE=true -CYCLE_SCHEMA_CACHE_DRIVER=array diff --git a/docker-compose.yaml b/docker-compose.yaml index 9c30313c..b46cfec5 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -15,27 +15,6 @@ services: environment: PHIVE_HOME: /app/.phive - pgsql: - image: wayofdev/postgres:15-alpine-latest - container_name: ${COMPOSE_PROJECT_NAME}-pgsql - restart: on-failure - networks: - - default - ports: - - '${DB_PGSQL_FORWARD_PORT:-15432}:5432' - env_file: - - .env - environment: - POSTGRES_USER: ${DB_USERNAME} - POSTGRES_PASSWORD: ${DB_PASSWORD} - POSTGRES_DB: ${DB_DATABASE} - volumes: - - pgsql-data:/var/lib/postgresql/data:cached - -volumes: - pgsql-data: - name: ${COMPOSE_PROJECT_NAME}-pgsql-data - networks: default: name: project.${COMPOSE_PROJECT_NAME}