Sign inSign up

kdockerfiles/astral

By kdockerfiles

Updated about 5 years ago

Image
0

547

kdockerfiles/astral repository overview

Dockerized Astral

Usage

  1. Get OAuth App API keys.
  2. $ docker run -e GITHUB_CLIENT_ID=<ID> -e GITHUB_CLIENT_SECRET=<secret> -e GITHUB_CALLBACK_URL=<url> kdockerfiles/astral:1ec1fc6-1

3. Get webserver attached.

  • Should look for FPM at port 9000.
  • Should look for statics at /var/www/html/public/.
  • Example configuration for Caddy 1.x:
localhost:80 {
    root /var/www/html/public/
    fastcgi / astral:9000 php

    rewrite {
        to {path} {path}/ /index.php?{query}
    }
}
http://localhost:80 {
    root * /var/www/html/public/
    php_fastcgi astral:9000
    file_server
}
  • If webserver is outside Docker, should add port forwarding (e.g. -p "9000:9000") and volume mount (e.g. -v /my/statics/dir/:/var/www/html/public/) to Docker command.

Notes

  • It is switched to use SQLite as DB backend.
  • Dockerfile currently contains an ad-hoc patch that disables automatic stars cache invalidation.

Tag summary

Content type

Image

Digest

Size

69.4 MB

Last updated

about 5 years ago

docker pull kdockerfiles/astral:38d98ef-2