Skip to content

sdouche/docker-satis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Docker Satis

Satis is a static Composer repository generator. The goal is to create a private repository for your packages or a mirror for public packages.

Quick start

  1. Create the satis.json file

This file contains the URL of the packages (cf examples/satis.json).

  1. Launch the container
docker run --name satis -d -p 8080:80 
    -v /path/to/your/dir/satis.json:/var/www/satis.json \
    sdouche/satis:latest

Note: index.html is generated at the end of download packages.

  1. Go to localhost:8080

Avoid the github limitation

A Github token is necessary to remove the download limitation (cf examples/composer-config.json).

docker run --name satis -d \
    -v /path/to/your/dir/composer-config.json:/var/www/composer-config.json \
    sdouche/satis:latest

Save the packages outside the container

docker run --name satis -d \
    -v /path/to/your/dir/:/var/www \
    sdouche/satis:latest

Enabling the SSH Key

docker run --name satis -d \
    -v /path/to/your/dir/:/root/.ssh \
    sdouche/satis:latest

Enabling the HTTPS

Add satis.key and satis.crt in folder certs.

docker run --name satis -d \
    -p 8443:443
    -e "SATIS_HTTPS=true" \
    -v /path/to/your/dir/certs:/var/www/certs \
    sdouche/satis:latest

About

Dockerfile for Satis

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages