Add some example of integrations (#44)

* Add some example of integrations
Update docker-run.sh to deal with docker secret for some vars.

* Update update.sh

Fix review

* Update .gitignore
This commit is contained in:
POTIER Mathieu
2021-03-15 17:07:47 +01:00
committed by GitHub
parent 14f2d2d2bf
commit ce9d9c483c
48 changed files with 832 additions and 114 deletions

View File

@@ -0,0 +1,41 @@
version: "3.8"
networks:
internal-pod:
internal: true
external-pod:
internal: false
volumes:
dolibarr-docs:
mysql-data:
services:
dolibarr:
image: tuxgasy/dolibarr:latest
environment:
DOLI_DB_HOST: "mysql"
DOLI_DB_HOST_PORT: "3306"
DOLI_DB_USER: "dolibarr"
DOLI_DB_PASSWORD: "mysupersecretpasswordfordatabase"
DOLI_DB_NAME: "dolibarr"
DOLI_ADMIN_LOGIN: "admin"
DOLI_ADMIN_PASSWORD: "mysuperhypersecretpasswordforadminacount"
ports:
- 80:80
volumes:
- dolibarr-docs:/var/www/documents
networks:
- internal-pod
- external-pod
mysql:
image: library/mariadb:latest
environment:
MYSQL_DATABASE: "dolibarr"
MYSQL_USER: "dolibarr"
MYSQL_PASSWORD: "mysupersecretpasswordfordatabase"
volumes:
- mysql-data:/var/lib/mysql
networks:
- internal-pod

View File

@@ -0,0 +1,3 @@
# Dolibarr with mysql
Running a Dolibarr instance with a mysql server is a standard behaviour, this examples show you how to describe this architecture in a docker-compose way.