mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-06 01:28:19 +01:00
This extracts the mariadb part to be able to compose different docker-compose manifests and use PostgreSQL instead for module development and debugging.
35 lines
680 B
YAML
35 lines
680 B
YAML
---
|
|
networks:
|
|
internal-pod:
|
|
internal: true
|
|
external-pod:
|
|
internal: false
|
|
|
|
services:
|
|
mariadb:
|
|
image: mariadb:latest
|
|
environment:
|
|
MYSQL_ROOT_PASSWORD: rootpassfordev
|
|
MYSQL_DATABASE: dolibarr
|
|
ports:
|
|
- "3306:3306"
|
|
networks:
|
|
- internal-pod
|
|
- external-pod
|
|
web:
|
|
depends_on:
|
|
- mariadb
|
|
phpmyadmin:
|
|
image: phpmyadmin/phpmyadmin
|
|
environment:
|
|
PMA_HOST: mariadb
|
|
depends_on:
|
|
- mariadb
|
|
ports:
|
|
- "8080:80"
|
|
networks:
|
|
- internal-pod
|
|
- external-pod
|
|
|
|
|