- Clone the repo onto your machine.
- Copy
config/local.env.dist
toconfig/local.env
- Fill in the data in
config/local.env
$ docker-compose -f docker-compose.yml -f docker-compose.dev.yml up -d --build
The site will be available at toran.dev
assuming you have it pointed to the Docker IP
- Use docker-machine to spin up a new machine
- Point a domain to that machine
- Get some certs (guide), this works on the LetsEncrypt paths
- Clone the repo onto your machine.
- Copy
config/production.env.dist
toconfig/production.env
- Fill in the data in
config/production.env
- Edit
config/nginx/toran.conf
to work with your domain
// Ensure docker commands are sent to the new remote machine and start
$ eval $(docker-machine env machine-name-here)
$ docker-compose -f docker-compose.yml -f docker-compose.prod.yml up -d --build
The site will be available at your domain, with HTTPS, HTTP/2 & optionally HTTP Auth ๐