Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- version: '2'
- networks:
- intranet:
- services:
- postgres:
- image: postgres:9.3.6
- container_name: intranet-postgres
- volumes:
- - ./database:/var/lib/postgresql/data
- environment:
- - POSTGRES_PASSWORD=postgres
- - POSTGRES_DB=postgres
- - POSTGRES_USER=postgres
- - PGDATA=/home
- networks:
- intranet:
- ports:
- - "5432:5432"
- php7.0-fpm:
- image: php:7.0-fpm
- container_name: intranet-php7.0-fpm
- volumes:
- - ./www:/usr/share/nginx/html:rw
- links:
- - postgres
- networks:
- intranet:
- ports:
- - "9000:9000"
- app:
- image: nginx
- container_name: intranet-app
- volumes:
- - ./www:/usr/share/nginx/html:rw
- - ./conf/default.conf:/etc/nginx/conf.d/default.conf:ro
- networks:
- intranet:
- ports:
- - "8090:80"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement