Permalink
c151d25 May 8, 2017
1 contributor

Users who have contributed to this file

54 lines (49 sloc) 893 Bytes
version: '2'
services:
mariadb:
image: tier/mariadb
container_name: mariadb
hostname: mariadb
networks:
- i2network
ports:
- "3306:3306"
cap_add:
- ALL
- NET_ADMIN
- SYS_ADMIN
volumes:
- grouper_mysql:/var/lib/mysqlmounted
restart: always
env_file:
- conf/common.env
- conf/db.env
grouper:
image: my/grouper
container_name: grouper
hostname: grouper
networks:
- i2network
ports:
- "8080:8080"
- "8443:8443"
- "80:80"
- "443:443"
cap_add:
- ALL
- NET_ADMIN
- SYS_ADMIN
volumes:
- ./logs:/opt/grouper/2.3.0/apache-tomcat-8.5.12/logs
env_file:
- conf/common.env
- conf/grouper.env
depends_on:
- mariadb
restart: always
networks:
i2network:
driver: bridge
volumes:
grouper_mysql:
driver: local