Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ambroisemaupate/littleship
A symfony app to manage your docker containers.
https://github.com/ambroisemaupate/littleship
Last synced: about 1 month ago
JSON representation
A symfony app to manage your docker containers.
- Host: GitHub
- URL: https://github.com/ambroisemaupate/littleship
- Owner: ambroisemaupate
- Created: 2015-05-01T22:00:22.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2017-01-15T23:23:04.000Z (about 8 years ago)
- Last Synced: 2024-10-30T09:26:14.304Z (3 months ago)
- Language: PHP
- Size: 300 KB
- Stars: 4
- Watchers: 4
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
littleship
==========![LittleShip](./littleshipREADME.png)
A symfony app to manage your docker containers.
## Database
By default, LittleShip uses a SQLite database which will be stored in `app/data`
folder.```shell
mkdir -p /data/http/app/data;
```## Deploy assets
To install LittleShip you should have *Grunt* and *Bower* installed on your
server. Once you’ve setup symfony dependencies with composer, run:```shell
npm install;
bower install -s;
app/console assets:install --symlink && grunt deploy;
```## Using as a container
* Define a volume on `/var/run/docker.sock`
* Your PHP-FPM user must be in `docker` group with same GID as your host machine to access socket## Nginx config
If your are using docker `maxexcloo/nginx-php` image, add this `nginx-symfony.conf`
file to your `/data/config` folder :```nginx
rewrite ^/app\.php/?(.*)$ /$1 permanent;location / {
index app.php;
try_files $uri @rewriteapp;
}location @rewriteapp {
rewrite ^(.*)$ /app.php/$1 last;
}# pass the PHP scripts to FastCGI server from upstream phpfcgi
location ~ ^/(app|app_dev|config)\.php(/|$) {
fastcgi_pass unix:/run/php5-fpm.sock;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTPS off;
}
```