You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

55 lines
1.2 KiB

version: '2'
services:
web:
restart: always
container_name: dokumentor-web
build: .
volumes:
- ./:/opt/app
ports:
- "32768:80"
env_file: conf/env
depends_on:
- db
- redis
- rabbitmq
- bower
db:
restart: always
container_name: dokumentor-db
image: postgres:latest
expose:
- "5432"
volumes:
- ./db:/var/lib/postgresql/data
environment:
- POSTGRES_USER=dokumentor
- POSTGRES_PASSWORD=dokumentor
redis:
restart: always
container_name: dokumentor-redis
image: redis:alpine
expose:
- "6379"
rabbitmq:
restart: always
container_name: dokumentor-rabbitmq
image: rabbitmq:alpine
environment:
- RABBITMQ_DEFAULT_USER=dokumentor
- RABBITMQ_DEFAULT_PASS=dokumentor
expose:
- "5672"
- "5671"
bower:
restart: always
container_name: dokumentor-bower
image: digitallyseamless/nodejs-bower-grunt
command: bash -c "bower i"
volumes:
- ./:/opt/app