Skip to content

Instantly share code, notes, and snippets.

@Spittal
Created September 15, 2018 02:44
Show Gist options
  • Star 8 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save Spittal/81b92f505c5cd0f846f75f1b60a3eb8c to your computer and use it in GitHub Desktop.
Save Spittal/81b92f505c5cd0f846f75f1b60a3eb8c to your computer and use it in GitHub Desktop.
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