From 0ff3f082d91b358a92628d4fc4ec904b5a9fc6a5 Mon Sep 17 00:00:00 2001 From: julien Date: Tue, 14 Jan 2025 17:42:41 +0100 Subject: [PATCH] first commit --- .env | 14 ++++++++++++++ .gitignore | 1 + README.md | 1 + compose.yml | 30 ++++++++++++++++++++++++++++++ 4 files changed, 46 insertions(+) create mode 100644 .env create mode 100644 .gitignore create mode 100644 README.md create mode 100644 compose.yml diff --git a/.env b/.env new file mode 100644 index 0000000..a4086aa --- /dev/null +++ b/.env @@ -0,0 +1,14 @@ +MYSQL_USER=dolibarr +MYSQL_DATABASE=dolibarr +#MYSQL_PASSWORD= +#MYSQL_ROOT_PASSWORD= + +DOLI_DB_HOST=dolinetignet_mariadb +DOLI_DB_USER=dolibarr +#DOLI_DB_PASSWORD= +DOLI_ADMIN_LOGIN=admin +DOLI_ADMIN_PASSWORD=admin + +DOLI_DB_NAME=dolibarr +DOLI_URL_ROOT='https://doli.netig.net' +PHP_INI_DATE_TIMEZONE='Europe/Paris' diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57d9655 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +volumes/ diff --git a/README.md b/README.md new file mode 100644 index 0000000..0495cbc --- /dev/null +++ b/README.md @@ -0,0 +1 @@ +# doli.netig.net \ No newline at end of file diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..2e945a5 --- /dev/null +++ b/compose.yml @@ -0,0 +1,30 @@ +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