Permalink
87f3d26 Sep 22, 2016
Jim Van Fleet Give this a try
0 contributors

Users who have contributed to this file

49 lines (45 sloc) 792 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:
- comanage_mysql:/var/lib/mysqlmounted
env_file:
- conf/common.env
- conf/db.env
comanage:
image: my/comanage
container_name: comanage
hostname: comanage
networks:
- i2network
ports:
- "80:80"
- "443:443"
cap_add:
- ALL
- NET_ADMIN
- SYS_ADMIN
volumes:
- ./logs:/etc/httpd/logs
env_file:
- conf/common.env
- conf/comanage.env
depends_on:
- mariadb
networks:
i2network:
driver: bridge
volumes:
comanage_mysql:
driver: local