Skip to content

Instantly share code, notes, and snippets.

@eva-thientran
Created October 17, 2017 05:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eva-thientran/7450631306313941f6ee7269e52811cd to your computer and use it in GitHub Desktop.
Save eva-thientran/7450631306313941f6ee7269e52811cd to your computer and use it in GitHub Desktop.
version: "2"
services:
app:
build: ./docker/app
image: "php-aucfan:v1"
ports:
- "8080:80"
restart: "no"
volumes:
- "../:/deploy/aucfan-ssl-v2/"
working_dir: /deploy/aucfan-ssl-v2/
web:
build: ./docker/web
depends_on:
- app
image: "nginx-aucfan:v1"
ports:
- "80:80"
- "443:443"
restart: "no"
volumes:
- "../:/deploy/aucfan-ssl-v2/"
working_dir: /deploy/aucfan-ssl-v2/
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment