31 lines
776 B
YAML
31 lines
776 B
YAML
services:
|
|
mariadb:
|
|
image: mariadb:latest
|
|
container_name: dolinetignet_mariadb
|
|
env_file:
|
|
- .env
|
|
- ../passwords/dolinetignet.pass
|
|
volumes:
|
|
- ./volumes/mysql:/var/lib/mysql
|
|
healthcheck:
|
|
test: ["CMD", "healthcheck.sh", "--connect", "--innodb_initialized"]
|
|
start_period: 10s
|
|
interval: 10s
|
|
timeout: 5s
|
|
retries: 3
|
|
restart: unless-stopped
|
|
dolibarr:
|
|
image: tuxgasy/dolibarr
|
|
container_name: dolinetignet_dolibarr
|
|
depends_on:
|
|
- mariadb
|
|
env_file:
|
|
- .env
|
|
- ../passwords/dolinetignet.pass
|
|
ports:
|
|
- "127.0.0.1:9011:80"
|
|
volumes:
|
|
- ./volumes/dolibarr/custom:/var/www/html/custom
|
|
- ./volumes/dolibarr/documents:/var/www/documents
|
|
restart: unless-stopped
|