phpvms/docker-compose.local.yml
Nabeel S 9b2e466b7e
Discord notifications for PIREP and News events #433 (#1215)
* Discord notifications for events #433

* Style fixes

* Check for blank webhook urls and disable

* Cleanup items after review

* Changes and fixes

* Style fixes

* Don't load env for testing

* Fix status text

* Refactor saving fields/fares so events get the latest data

* Cleanup

* Style fixes
2021-06-04 10:51:59 -04:00

33 lines
981 B
YAML

#
# Run with either `make docker-test` or the following Docker command:
# docker-compose -f docker-compose.yml -f docker-compose.local.yml up
#
---
version: '3'
services:
# This is overriding the docker-compose.yaml file to have a localized version
# of the contianer that you can use for building/testing
app:
build:
context: .
environment:
DB_HOST: mysql
REDIS_HOST: redis
volumes:
- ./app:/var/www/app
- ./bootstrap:/var/www/bootstrap
- ./config:/var/www/config
- ./modules:/var/www/modules
- ./public:/var/www/public
- ./resources:/var/www/resources
- ./storage:/var/www/storage
- ./tests:/var/www/tests
- ./composer.json:/var/www/composer.json
- ./composer-lock.json:/var/www/composer-lock.json
- ./env.php:/var/www/env.php
- ./resources/docker/php/www.conf:/usr/local/etc/php-fpm.d/www.conf
- ./vendor/var/www/vendor
depends_on:
- mysql
- redis