Egeya in Docker
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Alexander Zhirov 2d10f4e26a Merge pull request 'finished release' (#1) from dev into master 6 months ago
.env finished release 6 months ago
Dockerfile finished release 6 months ago
README.md finished release 6 months ago
docker-compose.yml finished release 6 months ago
install-screenshot.png finished release 6 months ago
msmtprc finished release 6 months ago
permission-denied.png finished release 6 months ago
script.sh finished release 6 months ago

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