Mysql: MYSQL_ROOT_PASSWORDMYSQL_DATABASEMYSQL_USERMYSQL_PASSWORD WordPress: WORDPRESS_DB_HOSTWORDPRESS_DB_USERWORDPRESS_DB_PASSWORDWORDPRESS_DB_NAME
Docker
Docker File
FROM: It defines the build image to start the build process. It’s the fist command declared inside the Dockerfile. FROM ubuntu MAINTAINER: Author details of the docker file RUN: It takes the command as argument and runs it from the…
Docker Swarm
Run the following command to initialize docker swarm. root@ip-172-31-91-97:/home/ubuntu# docker swarm init –advertise-addr 52.203.29.219 Swarm initialized: current node (zhqxor0uw79okh8thcm6boj0o) is now a manager. To add a worker to this swarm, run the following command: docker swarm join –token SWMTKN-1-105nukjje4l0yys14czxrpma8a2cxy1xx2y2n09u490pw1ve4i-4faqsr4p0hrjofywizcp04c6r 52.203.29.219:2377…