Skip to content

Instantly share code, notes, and snippets.

@ar-android
Last active November 5, 2017 14:58
Show Gist options
  • Save ar-android/fd7e4b668ac1a156f016388ccf63f571 to your computer and use it in GitHub Desktop.
Save ar-android/fd7e4b668ac1a156f016388ccf63f571 to your computer and use it in GitHub Desktop.
nginx:
image: nginx
ports:
- "80:80"
links:
- php
volumes:
- ./nginx/:/etc/nginx/conf.d/
- ./logs/error.log:/var/log/nginx/error.log
- ./logs/access.log:/var/log/nginx/access.log
- ./web:/var/www/html
php:
image: laradock/php-fpm:7.1--1.4
links:
- mysql
ports:
- "9000:9000"
volumes:
- ./web:/var/www/html
workspace:
image: laradock/workspace
volumes:
- ./web:/var/www/html
links:
- mysql
mysql:
image: mariadb
environment:
- MYSQL_ROOT_PASSWORD=admin
ports:
- "3306:3306"
phpmyadmin:
image: phpmyadmin/phpmyadmin
restart: always
links:
- mysql
ports:
- 8183:80
environment:
PMA_USER: root
PMA_PASSWORD: admin
PMA_ARBITRARY: 1
PMA_HOST: mysql
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment