Created
February 6, 2018 09:21
-
-
Save vedovelli/4afdb529fddf124052e84b7916b5471b to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# v2 syntax | |
version: '2' | |
# Named volumes | |
volumes: | |
# Redis Data | |
octimine2017vedovelli-redis-data: | |
driver: local | |
services: | |
# Charts | |
charts: | |
image: ambientum/node:9 | |
command: npm run dev | |
volumes: | |
- ./octimine-charts-vedovelli:/var/www/app | |
ports: | |
- "3456:3456" | |
# Redis | |
cache: | |
image: redis:3.2-alpine | |
command: --appendonly yes | |
volumes: | |
- octimine2017vedovelli-redis-data:/data | |
ports: | |
- "6379:6379" | |
# PHP (with Nginx) | |
app: | |
image: ambientum/php:7.2-nginx | |
volumes: | |
- .:/var/www/app | |
ports: | |
- "80:8080" | |
links: | |
- cache |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment