merged
This commit is contained in:
commit
4f1e1be9fb
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
|
# Aptatio/Platformio specifics
|
||||||
secrets.ini
|
secrets.ini
|
||||||
|
.env
|
||||||
|
@ -4,19 +4,24 @@ services:
|
|||||||
mariadb:
|
mariadb:
|
||||||
image: mariadb:latest
|
image: mariadb:latest
|
||||||
environment:
|
environment:
|
||||||
MYSQL_ROOT_PASSWORD: root
|
MYSQL_ROOT_PASSWORD: ${DB_PASS}
|
||||||
MYSQL_DATABASE: dolibarr
|
MYSQL_DATABASE: ${DB_NAME}
|
||||||
|
volumes:
|
||||||
|
- database:/var/lib/mysql
|
||||||
|
restart: always
|
||||||
web:
|
web:
|
||||||
image: tuxgasy/dolibarr
|
image: tuxgasy/dolibarr
|
||||||
environment:
|
environment:
|
||||||
DOLI_DB_HOST: mariadb
|
DOLI_DB_HOST: mariadb
|
||||||
DOLI_DB_USER: root
|
DOLI_DB_USER: root
|
||||||
DOLI_DB_PASSWORD: root
|
DOLI_DB_PASSWORD: ${DB_PASS}
|
||||||
DOLI_DB_NAME: dolibarr
|
DOLI_DB_NAME: ${DB_NAME}
|
||||||
DOLI_URL_ROOT: 'http://0.0.0.0'
|
DOLI_URL_ROOT: ${DOLI_URL}
|
||||||
PHP_INI_DATE_TIMEZONE: 'Europe/Paris'
|
PHP_INI_DATE_TIMEZONE: ${TIME_ZONE}
|
||||||
ports:
|
restart: always
|
||||||
- "80:80"
|
# ports:
|
||||||
links:
|
# - "80:80"
|
||||||
|
depends_on:
|
||||||
- mariadb
|
- mariadb
|
||||||
|
volumes:
|
||||||
|
database:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user