2018-03-21 22:55:11 +00:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
|
|
|
|
db:
|
|
|
|
image: mariadb:10.3
|
|
|
|
volumes:
|
|
|
|
- db-data:/var/lib/mysql
|
|
|
|
environment:
|
|
|
|
MYSQL_ROOT_PASSWORD: example
|
|
|
|
networks:
|
|
|
|
- backend
|
|
|
|
|
|
|
|
dolibarr:
|
|
|
|
build: ./image
|
|
|
|
ports:
|
|
|
|
- "80:80"
|
|
|
|
depends_on:
|
|
|
|
- "db"
|
|
|
|
networks:
|
|
|
|
- backend
|
2018-03-22 15:12:51 +00:00
|
|
|
volumes:
|
|
|
|
- dolibar-config:/var/www/html/conf
|
|
|
|
- dolibar-documents:/var/www/html/documents
|
2018-03-21 22:55:11 +00:00
|
|
|
|
|
|
|
adminer:
|
|
|
|
image: adminer
|
|
|
|
restart: always
|
|
|
|
ports:
|
|
|
|
- 8080:8080
|
|
|
|
networks:
|
|
|
|
- backend
|
|
|
|
|
|
|
|
networks:
|
|
|
|
backend:
|
|
|
|
|
|
|
|
volumes:
|
|
|
|
db-data:
|
2018-03-22 15:12:51 +00:00
|
|
|
dolibar-config:
|
|
|
|
dolibar-documents:
|
|
|
|
|