Skip to content

Instantly share code, notes, and snippets.

@maxca
Last active December 13, 2018 09:51
Show Gist options
  • Save maxca/13fbc5583eadadf0ba80ddc796574b89 to your computer and use it in GitHub Desktop.
Save maxca/13fbc5583eadadf0ba80ddc796574b89 to your computer and use it in GitHub Desktop.
simple frontend docker compose
version: '2.3'
services:
webapp:
image: maxca789/php56apachecomposer
container_name: frontend
ports:
- "8010:80"
volumes:
- .:/var/www/html/
- ./docker/vhost/:/etc/apache2/sites-available/
networks:
- frontend
- backend_backendnetwork
environment:
- CONTAINER_TIMEZONE=Asia/Bangkok
- VIRTUAL_HOST=local-vhost.dev
networks:
frontend:
driver: bridge
backend_backendnetwork:
external: true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment