Last active
December 13, 2018 09:51
-
-
Save maxca/13fbc5583eadadf0ba80ddc796574b89 to your computer and use it in GitHub Desktop.
simple frontend docker compose
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
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