Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '3'
- services:
- nginx:
- image: nginx:1.15
- ports:
- - 8080:80
- volumes:
- - ../app:/var/www/html:cached
- - ./nginx/nginx.conf:/etc/nginx/nginx.conf
- depends_on:
- - php
- php:
- build:
- ./php
- ports:
- - 9002:9000
- - 8100:8100
- volumes:
- - ../app:/var/www/html:cached
- depends_on:
- - db
- expose:
- - 8100
- db:
- image: postgres:11.0
- restart: always
- environment:
- POSTGRES_USER: root
- POSTGRES_PASSWORD: qwerty
- ports:
- - 5554:5432
- volumes:
- - ./db/data/postgresql:/var/lib/postgresql/data
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement