service-dolibarr/docker-compose.yml
2018-03-22 16:12:51 +01:00

40 lines
596 B
YAML

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
volumes:
- dolibar-config:/var/www/html/conf
- dolibar-documents:/var/www/html/documents
adminer:
image: adminer
restart: always
ports:
- 8080:8080
networks:
- backend
networks:
backend:
volumes:
db-data:
dolibar-config:
dolibar-documents: