Création du module DolibarrClient avec ses différentes routes & création du module WarehouseGUI pour le LCD M5Stack #7
4
.env.example
Normal file
4
.env.example
Normal file
@ -0,0 +1,4 @@
|
||||
TIME_ZONE='Europe/Paris'
|
||||
DOLI_URL='http://0.0.0.0'
|
||||
DB_NAME="dolibarr"
|
||||
DB_PASS="password"
|
1
.gitignore
vendored
1
.gitignore
vendored
@ -11,3 +11,4 @@
|
||||
|
||||
# Aptatio/Platformio specifics
|
||||
secrets.ini
|
||||
.env
|
||||
|
@ -4,19 +4,24 @@ services:
|
||||
mariadb:
|
||||
image: mariadb:latest
|
||||
environment:
|
||||
MYSQL_ROOT_PASSWORD: root
|
||||
MYSQL_DATABASE: dolibarr
|
||||
|
||||
MYSQL_ROOT_PASSWORD: ${DB_PASS}
|
||||
MYSQL_DATABASE: ${DB_NAME}
|
||||
volumes:
|
||||
- database:/var/lib/mysql
|
||||
restart: always
|
||||
web:
|
||||
image: tuxgasy/dolibarr
|
||||
environment:
|
||||
DOLI_DB_HOST: mariadb
|
||||
DOLI_DB_USER: root
|
||||
DOLI_DB_PASSWORD: root
|
||||
DOLI_DB_NAME: dolibarr
|
||||
DOLI_URL_ROOT: 'http://0.0.0.0'
|
||||
PHP_INI_DATE_TIMEZONE: 'Europe/Paris'
|
||||
ports:
|
||||
- "80:80"
|
||||
links:
|
||||
DOLI_DB_PASSWORD: ${DB_PASS}
|
||||
DOLI_DB_NAME: ${DB_NAME}
|
||||
DOLI_URL_ROOT: ${DOLI_URL}
|
||||
PHP_INI_DATE_TIMEZONE: ${TIME_ZONE}
|
||||
restart: always
|
||||
# ports:
|
||||
# - "80:80"
|
||||
depends_on:
|
||||
- mariadb
|
||||
volumes:
|
||||
database:
|
||||
|
Loading…
x
Reference in New Issue
Block a user