Created
December 19, 2017 00:54
-
-
Save dontpaniclabsgists/1d9d7675316f65e7312b3f7d315d3954 to your computer and use it in GitHub Desktop.
lamp_stack_on_windows_1
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: "3.3" | |
services: | |
web: | |
image: richarvey/nginx-php-fpm:latest | |
container_name: web | |
links: | |
- db | |
ports: | |
- "80:80" | |
volumes: | |
- "${SOURCE}:${SOURCE_MOUNT}" | |
environment: | |
ENABLE_XDEBUG: "${ENABLE_XDEBUG}" | |
GIT_USERNAME: "${GIT_USERNAME}" | |
GIT_PERSONAL_TOKEN: "${GIT_PERSONAL_TOKEN}" | |
GIT_REPO: "${GIT_REPO}" | |
RUN_SCRIPTS: "${RUN_SCRIPTS}" | |
WEBROOT: "${WEBROOT}" | |
XDEBUG_CONFIG: "remote_enable=1 remote_host=${HOST_IP} remote_port=9000 remote_autostart=1" | |
db: | |
build: "DB" | |
image: mariadb:latest | |
container_name: db | |
environment: | |
MYSQL_ALLOW_EMPTY_PASSWORD: "yes" | |
ports: | |
- "3306:3306" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment