Skip to content

Instantly share code, notes, and snippets.

@vonhraban
Created April 19, 2018 14:48
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save vonhraban/29e77b22834e468e0c3d67fcdc5efbc5 to your computer and use it in GitHub Desktop.
Save vonhraban/29e77b22834e468e0c3d67fcdc5efbc5 to your computer and use it in GitHub Desktop.
nginx:
image: tutum/nginx
ports:
- "80:80"
links:
- phpfpm
volumes:
- ./nginx/default:/etc/nginx/sites-available/default
- ./nginx/default:/etc/nginx/sites-enabled/default
- ./logs/nginx-error.log:/var/log/nginx/error.log
- ./logs/nginx-access.log:/var/log/nginx/access.log
phpfpm:
image: php:fpm
ports:
- "9000:9000"
volumes:
- ../glint:/usr/share/nginx/glint
mysql:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: admin
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment