29 lines
733 B
YAML
29 lines
733 B
YAML
version: "3"
|
|
|
|
services:
|
|
mariadb-prod:
|
|
container_name: dolibarr-mariadb-prod
|
|
image: mariadb:latest
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: $MYSQL_ROOT_PWD
|
|
MYSQL_DATABASE: "dolibarr-prod"
|
|
|
|
web:
|
|
container_name: dolibarr-web-prod
|
|
build: .
|
|
|
|
volumes:
|
|
- ../../htdocs:/var/www/html/
|
|
- ../../documents:/var/www/html/documents
|
|
|
|
depends_on:
|
|
- mariadb-prod
|
|
environment:
|
|
HOST_USER_ID: $HOST_USER_ID
|
|
HOST_GROUP_ID: $HOST_GROUP_ID
|
|
DOLI_ROOT_PASSWORD: $MYSQL_ROOT_PWD
|
|
DOLI_DATABASE: "dolibarr-prod"
|
|
DOLI_DB_SERVER: "mariadb-prod"
|
|
ports:
|
|
- "8080:80"
|