Egeya in Docker
Go to file
Alexander Zhirov 2fcd0fbb46 finished release 2021-06-19 07:06:27 +03:00
.env finished release 2021-06-19 07:06:27 +03:00
Dockerfile finished release 2021-06-19 07:06:27 +03:00
README.md finished release 2021-06-19 07:06:27 +03:00
docker-compose.yml finished release 2021-06-19 07:06:27 +03:00
install-screenshot.png finished release 2021-06-19 07:06:27 +03:00
msmtprc finished release 2021-06-19 07:06:27 +03:00
permission-denied.png finished release 2021-06-19 07:06:27 +03:00
script.sh finished release 2021-06-19 07:06:27 +03:00

README.md

Install

  1. Clone this git repo git clone https://git.zhirov.website/alexander/egeya_docker.git .

  2. Specify needed parameters in .env file

  3. Specify needed parameters mail server in msmtprc file or see the official documentation mSMTP:

    account main
    host <your-ip-address>                    # 192.168.0.1
    port <your-port>                          # 587
    auth on
    user <your-email-address>                 # example@mail.domain
    from <your-from-email-address>            # example@mail.domain
    password <your-email-password>
    logfile /var/log/msmtp_main.log
    
  4. Run with --build flag for the first time docker-compose up -d --build

    Installation screenshot

  5. After starting the services, you need to grant read/write permissions to volumes: chown -R www-data:www-data ${PATH_VOLUMES}

  6. Go to VIRTUAL_HOST address and fill the Egeya setup form with data:

    DB Host: mariadb
    DB User: root
    DB Pass: egeya
    DB Database: <select "egeya" from the list>
    Admin pass: <specify yours>
    
  7. That's all.

Installation screenshot

Start / Stop

docker-compose up -d
docker-compose stop

Updates

  • To update PHP version, go to .env, change version and run docker-compose up -d
  • To update MariaDB version, go to .env, change version and run docker-compose up -d
  • To update blog version, go to .env, change version and run docker-compose up -d

It doesn't affect an important data as it's been stored in

  • ${PATH_VOLUMES}/user — all user-specific settings
  • ${PATH_VOLUMES}/theme — here you can paste your custom theme
  • ${PATH_VOLUMES}/pictures — uploaded images
  • ${PATH_VOLUMES}/audio — uploaded audio
  • ${PATH_VOLUMES}/video — uploaded video
  • ${PATH_VOLUMES}/mariadb — database data