Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: "3"
- services:
- web:
- image: webdevops/php-nginx:7.1
- ports:
- - "8082:80"
- volumes:
- - /Users/tunlookup/Documents/cmerp:/app # change path to your project
- environment:
- - PHP_DEBUGGER=xdebug
- - PHP_DISPLAY_ERRORS=1
- - PHP_DATE_TIMEZONE=Asia/Ho_Chi_Minh
- - WEB_DOCUMENT_ROOT=/app
- depends_on:
- - postgres
- postgres:
- image: postgres
- restart: always
- ports:
- - 5432:5432
- volumes:
- - ./db_data:/var/lib/postgresql/data
- environment:
- POSTGRES_USER: "admin"
- POSTGRES_PASSWORD: "root"
- POSTGRES_DB: "cmerp"
Add Comment
Please, Sign In to add comment