Skip to content
This repository has been archived by the owner on Jul 31, 2024. It is now read-only.
/ docker-satis Public archive

Image to launch a satis application self hosted to manage PHP dependencies

License

Notifications You must be signed in to change notification settings

cedvan/docker-satis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Satis

Quick start

Download packages from pakagist will start automatically at start container and every hour

docker run --name satis -d \
    -p 8080:80 \
    -v /opt/satis/satis.json:/var/www/satis.json \
    cedvan/satis:latest

cf examples/satis.json

index.html is generated at the end of download packages. So wait for the download to finish first (use docker logs satis for monitor progress). Next go to localhost:8080

Load composer configuration

Add token github is necessary to avoid blocking github

docker run --name satis -d \
    -v /opt/satis/composer-config.json:/var/www/composer-config.json \
    cedvan/satis:latest

cf examples/composer-config.json

Generate your github token :

  • Go Settings => Applications
  • Click on Generate token
  • Enter satis to token descriptin
  • Just checked repo and public_repo
  • Click on Generate
  • Copy token in composer-config.json
  • Finished !

Save data mirror packages

docker run --name satis -d \
    -v /opt/satis:/var/www \
    cedvan/satis:latest

Enabled HTTPS

docker run --name satis -d \
    -p 8443:443
    -e "SATIS_HTTPS=true" \
    -v /opt/satis/certs:/var/www/certs \
    cedvan/satis:latest

Add satis.key and satis.crt in folder certs

Enabled SSH Key

docker run --name satis -d \
    -v ~/.ssh:/root/.ssh \
    cedvan/satis:latest

About

Image to launch a satis application self hosted to manage PHP dependencies

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages