Skip to content

Kdockerfiles/astral

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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> ghcr.io/kdockerfiles/astral:d8f2404-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.

  • Check examples directory for an example docker-compose.yml.

Notes

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

About

Dockerized Astral

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors 2

  •  
  •