Skip to content

Instantly share code, notes, and snippets.

@wilcorrea
Created November 24, 2020 06:46
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save wilcorrea/dd444e0ca44b4ff18c7e087b29994ded to your computer and use it in GitHub Desktop.
Save wilcorrea/dd444e0ca44b4ff18c7e087b29994ded to your computer and use it in GitHub Desktop.
version: '3'
networks:
reverse-proxy:
external:
name: reverse-proxy
services:
test-app:
image: webdevops/php-nginx:7.4
container_name: test-app
restart: always
networks:
- reverse-proxy
volumes:
- .:/var/www/app
environment:
- VIRTUAL_HOST=test.devi.tools
- WEB_DOCUMENT_ROOT=/var/www/app/public
- LETSENCRYPT_EMAIL=wilcorrea@gmail.com
- LETSENCRYPT_HOST=test.devi.tools
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment