phpList4 Installation Guide with Docker Compose

  1. Add Local Host Entry
    echo "127.0.0.1 app" | sudo tee -a /etc/hosts
  2. Clone Repository
    git clone https://github.com/phpList/base-distribution.git phplist4
  3. By default, the Docker Compose setup uses MySQL.To switch to PostgreSQL, edit the docker-compose.yml file and enable the PostgreSQL
  4. Start Docker Containers
    cd phplist4
  5. Start Docker Containers
    docker compose up -d
  6. Enter the Application Container
    docker exec -it base-distribution-app bash
  7. Run Database Migrations
    php bin/console doctrine:migrations:migrate
  8. Create Default Admin
    php bin/console phplist:defaults:import
  9. Open phpList http://app:8081