Skip to content

MilesPong/docker-lnmp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LNMP

LNMP(Nginx, PHP, Mysql, Redis) service deploy through docker swarm mode.

Swarm mode

docker swarm init

Notice: if using command through docker-compose, you may make some changes to this docker-compose.yaml file to adjust some settings like secret

Usage

  1. Create mysql password through docker secret
$ echo "my-secret-pw" | docker secret create mysql_root_password -
  1. Deploy or update a stack
$ docker stack deploy -c docker-compose.yml lnmp

About

LNMP service deploy through docker swarm mode

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages