Instantly share code, notes, and snippets.

Embed
What would you like to do?
Docker Compose override from Springboard VR
version: '3'
services:
fpm:
volumes:
- ./:/var/www
environment:
- OPCACHE_ENABLED=0
worker:
volumes:
- ./:/var/www
cron:
volumes:
- ./:/var/www
nginx:
volumes:
- ./:/var/www
environment:
- VIRTUAL_HOST=app.springboardvr.docker,api.springboardvr.docker,graphql.springboardvr.docker
socket:
environment:
- API_URL=https://api.springboardvr.docker
- DEV_MODE=true
- VIRTUAL_HOST=socket.springboardvr.docker
- VIRTUAL_PORT=6001
db:
ports:
- 3306:3306
environment:
- VIRTUAL_HOST=app-db.springboardvr.docker
redis:
ports:
- 6379:6379
environment:
- VIRTUAL_HOST=redis.springboardvr.docker
mailhog:
environment:
- VIRTUAL_HOST=mailhog.springboardvr.docker
- MH_HOSTNAME=mailhog.springboardvr.docker
- VIRTUAL_PORT=8025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment