Skip to content

Created Dockerfile for polr#467

Open
ghost wants to merge 3 commits into
cydrobolt:masterfrom
arilot:master
Open

Created Dockerfile for polr#467
ghost wants to merge 3 commits into
cydrobolt:masterfrom
arilot:master

Conversation

@ghost
Copy link
Copy Markdown

@ghost ghost commented Jul 9, 2018

Hello!
We are created Dockerfile for Polr. This image use alpine image with php-fpm 7.2. Also we added nginx server in this image.

For build image use command:
docker build -t polr .

For localhost test use this commands:
docker network create polr

docker run --name mysql -d -e MYSQL_ROOT_PASSWORD=password -e MYSQL_DATABASE=polr -e MYSQL_USER=polr -e MYSQL_PASSWORD=polr -v mysql:/var/lib/mysql --network polr mysql:5.7

cp cp .env.setup .env

docker run -it --rm -p 8000:80 --name polr --network polr -v ${PWD}/.env:/usr/src/app/.env -e APP_ADDRESS="localhost:8000" arilot/polr:latest

Open browser http://localhost:8000

You can read more about this in our docker hub https://hub.docker.com/r/arilot/polr/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants