Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- openproj:
- image: progtologist/openproject
- expose:
- - 80
- environment:
- POSTGRES_PORT_5432_TCP_ADDR: "db"
- POSTGRES_ENV_PASS: "flaming_lips"
- link:
- - db
- restart: always
- db:
- image: postgres:9.5
- environment:
- POSTGRES_USER: "openproj"
- POSTGRES_PASSWORD: "flaming_lips"
- expose:
- - 5432
- volumes:
- - /var/lib/docker/opt/openproj/data/db:/var/lib/postgresql/data
- - /etc/localtime:/etc/localtime:ro
- restart: always
- www:
- image: nginx:1.9
- volumes:
- # nginx sockets go here
- - /var/lib/docker/opt/nginx/sockets/:/var/run/nginx/
- # nginx config overrides default.conf
- - /var/lib/docker/opt/openproj/nginx/openproj.conf:/etc/nginx/conf.d/default.conf
- - /var/lib/docker/opt/nginx/conf/nginx.conf:/etc/nginx/nginx.conf
- - /etc/localtime:/etc/localtime:ro
- links:
- - openproj:openproj.upstream.com
- restart: always
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement