Skip to content

Instantly share code, notes, and snippets.

@maxca
Created December 13, 2018 08:34
Show Gist options
  • Save maxca/eb7d1fe72b908d9891d6d3cb0f142a72 to your computer and use it in GitHub Desktop.
Save maxca/eb7d1fe72b908d9891d6d3cb0f142a72 to your computer and use it in GitHub Desktop.
backend-docker-compose.yml
version: '2.3'
services:
webapp:
image: maxca789/php56apachecomposer
container_name: backend
ports:
- "8011:80"
volumes:
- .:/var/www/html/
networks:
- backend
- mysql_mysqlnetwork
environment:
- CONTAINER_TIMEZONE=Asia/Bangkok
- VIRTUAL_HOST=local-vhost.dev
networks:
backend:
driver: bridge
mysql_mysqlnetwork:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment