40 lines
590 B
YAML
40 lines
590 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: .
|
|
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:
|
|
|