Skip to content
Snippets Groups Projects
Verified Commit 8e4e73fa authored by David Beniamine's avatar David Beniamine
Browse files

Update .envs

parent 69426c2f
Branches
No related tags found
No related merge requests found
COMPOSE_FILE=docker-compose.yml:expose_mariadb.yml:dev.yml
# TRAEFIK CONFIG
HOST=dolibarr
HOST=localhost
NAME=dolibarrlocalhost
DOLI_VERSION=18.0.5
DOLI_VERSION=19.0.3
# DATABASE CONFIG
PASS=insert-randomstringhere
......@@ -19,6 +19,6 @@ ENV=local
CRON_KEY="getItFromDolibarrScheduledJobModulePageThanRestart"
CRON_USER="admin"
PORT=8080
DOLI_URL=http://${HOST}
DOLI_URL=http://${HOST}:${PORT}
LOCALE=fr_FR.UTF-8
TZ="Europe/Paris"
......@@ -3,10 +3,11 @@ COMPOSE_FILE=docker-compose.yml:traefik.yml:expose_mariadb.yml
# TRAEFIK CONFIG
HOST=dolibarr.FQDN
NAME=dolibarrlocalhost
DOLI_VERSION=18.0.5
DOLI_VERSION=19.0.3
# DATABASE CONFIG
PASS= # YOU MUST CHANGE THIS
# YOU MUST CHANGE THIS PASSWORD
PASS=
# Si vous utilisez expose_mariadb.yml,
# cette variable indique le port sur l'hôte sur lequel est lié le port 3306 de mariadb
MARIADB_BIND_PORT=3306
......
......@@ -7,7 +7,7 @@
- `cp .env.dev.sample .env`
- `cp .env.prod.sample .env`
3. In production edit .env (DB password at least)
3. In edit .env (DB password and HOST at least for production)
4. If required change `DOLI_VERSION` in `.env` file
5. `docker-compose up`, the first docker-compose up takes time because we have git clone. **You need to wait the end of git clone**
6. This will create 2 directories `dolibarr_src` : dolibarr code source and logs and `dolibarr_db`: mysql files
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment