Hello, My name's Marvio Rocha, I'm a simple developer from Brazil than love docker and docker-compose. This is a simple docker-compose script for build a production deployment with docker.
I make it with a person WordPress installer. But you can put other applications run to join.
That was based on great tutorial the -> Niels, Enabling HTTPS termination in Traefik)
Ubuntu 18.04 server or other distro based on Linux set up by following I like the Ubuntu 18.04 in Digital Ocean, including a sudo non-root user and a firewall.
Docker and docker-compose installed on your server
- First clone with:
git clone https://github.com/marviorocha/docker-deploy-apps.git
- Settings Traefik.toml file with your information
- Open your docker-compose.yml settings it.
- Open your shell make it:
- Settings the traefik:
Go to folder traefik settings your docker-compose.yml and up docker with docker-compose up -d
- Deploy LEMP:
Go to folder site 1 end settings your docker-compose.yml and up with docker-compose up -d
My site: marviorocha.com Thanks.