mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
The PostgreSQL database can be used as the following:
docker compose -f docker-compose.yml -f docker-compose.postgres.yml up
This allows a bit more modularity and ensuring people can start a
PostgreSQL development setup quickly.
19 lines
344 B
YAML
19 lines
344 B
YAML
---
|
|
networks:
|
|
internal-pod:
|
|
internal: true
|
|
external-pod:
|
|
internal: false
|
|
|
|
services:
|
|
postgres:
|
|
image: postgres:latest
|
|
environment:
|
|
POSTGRES_PASSWORD: rootpassfordev
|
|
networks:
|
|
- internal-pod
|
|
- external-pod
|
|
web:
|
|
depends_on:
|
|
- postgres
|