Deploy Laravel on Docker using nginx-proxy
+ acme-companion
(formerly called docker-letsencrypt-nginx-proxy-companion
)
-
Prepare two seperate docker compose file i.e
docker-compose.nginx.yml
&docker-compose.app.yml
-
Create
nginx
directory and movedocker-compose.nginx.yml
into it. -
Create
YOUR_DOMAIN.conf
andYOUR_DOMAIN_location_override.conf
innginx
directory.