service-dolibarr/docker-compose.yml

41 lines
590 B
YAML
Raw Normal View History

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:
2018-03-22 15:22:34 +00:00
build: .
2018-03-21 22:55:11 +00:00
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: