first commit

This commit is contained in:
julien 2025-01-14 17:42:41 +01:00
commit 0ff3f082d9
4 changed files with 46 additions and 0 deletions

14
.env Normal file
View File

@ -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'

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
volumes/

1
README.md Normal file
View File

@ -0,0 +1 @@
# doli.netig.net

30
compose.yml Normal file
View File

@ -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