fajarhide / docker-stack

Dockerstack stack

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

docker-stack

Dockerstack RCL lightweight images

Beanstalkd

$ cd docker-stack/beanstalkd/
$ docker build -t rcl/beanstalkd .
$ docker run -d -p 11200:11300 rcl/beanstalkd

MySQL

Edit enviroment username,password on .env

$ cd docker-stack/mysql/
$ mkdir data
$ docker-compose up -d

Nginx-PHP-Phalcon

Edit enviroment Project Name,port on .env

$ cd docker-stack/nginx-php-phalcon/
$ ./build.sh

Laravel

$ docker exec -it project-name sh -c "php artisan key:generate"

Golang

$ cd docker-stack/golang/
$ CGO_ENABLED=0 GOOS=linux go build -a -o app .
$ docker build . -t name-project
$ docker run -it --name name-project -p 9000:8000 -d name-project

Redis

$ cd docker-stack/redis/
$ mkdir data
$ docker-compose up -d

Rabbitmq

$ cd docker-stack/rabbitmq/
$ docker-compose up -d

About

Dockerstack stack


Languages

Language:Dockerfile 71.3%Language:Shell 17.4%Language:PHP 6.4%Language:Go 4.9%