Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- web:
- image: nginx:latest
- container_name: ${PROJECT_NAME}-web
- ports:
- - "80:80"
- - "443:443"
- volumes:
- - ../:/${PROJECT_NAME}/
- - ./nginx/site.conf:/etc/nginx/conf.d/site.conf
- links:
- - 2ip-php
- ip-php:
- container_name: ${PROJECT_NAME}-php
- dockerfile: ./php/Dockerfile
- build: ./
- volumes:
- - ../:/${PROJECT_NAME}/
- environment:
- - APPLICATION_ENV=local
- - GITHUB_TOKEN=${GITHUB_TOKEN}
- links:
- - mysql55
- - mailhog
- mysql55:
- container_name: mysql55
- image: mysql:5.5
- environment:
- - MYSQL_ALLOW_EMPTY_PASSWORD=true
- - MYSQL_DATABASE=${PROJECT_NAME}
- - MYSQL_USER=${PROJECT_NAME}
- ports:
- - "3306:3306"
- volumes:
- - ./docker-entrypoint-initdb.d:/docker-entrypoint-initdb.d
- - ./mysql:/etc/mysql/conf.d
- - mysql55:/var/lib/mysql
- mailhog:
- image: mailhog/mailhog
- container_name: ${PROJECT_NAME}-mailhog
- ports:
- - "1025:1025"
- - "8025:8025"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement