Skip to content

Instantly share code, notes, and snippets.

@vonhraban
Created October 22, 2017 16:48
Show Gist options
  • Save vonhraban/7b782157e219d5db7468cf265dcc246b to your computer and use it in GitHub Desktop.
Save vonhraban/7b782157e219d5db7468cf265dcc246b to your computer and use it in GitHub Desktop.
version: "2"
services:
nginx:
image: nginx:latest
container_name: tracking-nginx
ports:
- "80:80"
volumes:
- .:/app
- ./deploy/nginx-default.conf:/etc/nginx/conf.d/default.conf
links:
- php-fpm
php-fpm:
image: investoo/php-fpm-phalcon:7.1.10
container_name: tracking-php-fpm
volumes:
- .:/app
cli:
image: investoo/php-phalcon-cli:7.1.10
container_name: tracking-cli
working_dir: /app
volumes:
- .:/app
- ~/.ssh/id_rsa:/root/.ssh/id_rsa
- ~/.ssh/known_hosts:/root/.ssh/known_hosts
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment