Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- nginx:
- image: nginx:1.15
- ports:
- - 8888:80
- volumes:
- - ../:/var/www/html
- - ./nginx/nginx.conf:/etc/nginx/nginx.conf
- depends_on:
- - php
- php:
- build:
- ./php
- ports:
- - 9999:9000
- volumes:
- - ../:/var/www/html
- depends_on:
- - db
- db:
- image: postgres:11.0
- restart: always
- environment:
- POSTGRES_USER: root
- POSTGRES_PASSWORD: qwerty
- ports:
- - 5555:5432
- volumes:
- - ./db/data/postgresql:/var/lib/postgresql/data
- composer:
- image: composer:1.7
- working_dir: /var/www/html
- command: update --ignore-platform-reqs --no-scripts
- volumes:
- - ../:/var/www/html
- depends_on:
- - php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement