Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 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"
Add Comment
Please, Sign In to add comment