Skip to content

kylesloan/docker-php-nginx-redis-mysql

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

# build the docker php container cause no one had redis module in it
docker build -t myphp php/

# start the stack
docker-compose up -d


# go in browser to
http://localhost/index.php





# restart the entire stack
docker-compose stop && docker-compose rm -f && docker-compose up -d

# watch the logs that docker creates
docker-compose logs -f


# step into a container, use sh cause alpine doesn't have bash
docker ps -a
docker exec -it php sh

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages