Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Dolibarr
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
NoCloud
docker
Dolibarr
Commits
8e4e73fa
Verified
Commit
8e4e73fa
authored
9 months ago
by
David Beniamine
Browse files
Options
Downloads
Patches
Plain Diff
Update .envs
parent
69426c2f
No related branches found
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.env.dev.sample
+3
-3
3 additions, 3 deletions
.env.dev.sample
.env.prod.sample
+3
-2
3 additions, 2 deletions
.env.prod.sample
Readme.md
+1
-1
1 addition, 1 deletion
Readme.md
with
7 additions
and
6 deletions
.env.dev.sample
+
3
−
3
View file @
8e4e73fa
COMPOSE_FILE=docker-compose.yml:expose_mariadb.yml:dev.yml
COMPOSE_FILE=docker-compose.yml:expose_mariadb.yml:dev.yml
# TRAEFIK CONFIG
# TRAEFIK CONFIG
HOST=
dolibarr
HOST=
localhost
NAME=dolibarrlocalhost
NAME=dolibarrlocalhost
DOLI_VERSION=1
8
.0.
5
DOLI_VERSION=1
9
.0.
3
# DATABASE CONFIG
# DATABASE CONFIG
PASS=insert-randomstringhere
PASS=insert-randomstringhere
...
@@ -19,6 +19,6 @@ ENV=local
...
@@ -19,6 +19,6 @@ ENV=local
CRON_KEY="getItFromDolibarrScheduledJobModulePageThanRestart"
CRON_KEY="getItFromDolibarrScheduledJobModulePageThanRestart"
CRON_USER="admin"
CRON_USER="admin"
PORT=8080
PORT=8080
DOLI_URL=http://${HOST}
DOLI_URL=http://${HOST}
:${PORT}
LOCALE=fr_FR.UTF-8
LOCALE=fr_FR.UTF-8
TZ="Europe/Paris"
TZ="Europe/Paris"
This diff is collapsed.
Click to expand it.
.env.prod.sample
+
3
−
2
View file @
8e4e73fa
...
@@ -3,10 +3,11 @@ COMPOSE_FILE=docker-compose.yml:traefik.yml:expose_mariadb.yml
...
@@ -3,10 +3,11 @@ COMPOSE_FILE=docker-compose.yml:traefik.yml:expose_mariadb.yml
# TRAEFIK CONFIG
# TRAEFIK CONFIG
HOST=dolibarr.FQDN
HOST=dolibarr.FQDN
NAME=dolibarrlocalhost
NAME=dolibarrlocalhost
DOLI_VERSION=1
8
.0.
5
DOLI_VERSION=1
9
.0.
3
# DATABASE CONFIG
# DATABASE CONFIG
PASS= # YOU MUST CHANGE THIS
# YOU MUST CHANGE THIS PASSWORD
PASS=
# Si vous utilisez expose_mariadb.yml,
# Si vous utilisez expose_mariadb.yml,
# cette variable indique le port sur l'hôte sur lequel est lié le port 3306 de mariadb
# cette variable indique le port sur l'hôte sur lequel est lié le port 3306 de mariadb
MARIADB_BIND_PORT=3306
MARIADB_BIND_PORT=3306
...
...
This diff is collapsed.
Click to expand it.
Readme.md
+
1
−
1
View file @
8e4e73fa
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
-
`cp .env.dev.sample .env`
-
`cp .env.dev.sample .env`
-
`cp .env.prod.sample .env`
-
`cp .env.prod.sample .env`
3.
In
production
edit .env (DB password a
t least
)
3.
In edit .env (DB password a
nd HOST at least for production
)
4.
If required change
`DOLI_VERSION`
in
`.env`
file
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**
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
6.
This will create 2 directories
`dolibarr_src`
: dolibarr code source and logs and
`dolibarr_db`
: mysql files
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment