Files
sprinkler-calculation/PWA-fam-plans/v.3.8.yaml
T
2026-11-16 01:39:59 +07:00

49 lines
942 B
YAML

version: '3.8'
services:
# Joomla service
joomla:
build:
context: ./joomla
ports:
- "8081:80"
environment:
- DB_HOST=postgres
- DB_NAME=joomla
- DB_USER=joomla_user
- DB_PASSWORD=secret_password
depends_on:
- postgres
# PostgreSQL service
postgres:
image: postgres:13
environment:
- POSTGRES_USER=joomla_user
- POSTGRES_PASSWORD=secret_password
- POSTGRES_DB=joomla
ports:
- "5432:5432"
# Node.js service
nodejs:
build:
context: ./nodejs
ports:
- "3000:3000"
environment:
- DATABASE_URL=postgres://joomla_user:secret_password@postgres:5432/joomla
depends_on:
- postgres
# Go service
golang:
build:
context: ./golang
ports:
- "8080:8080"
environment:
- DATABASE_URL=postgres://joomla_user:secret_password@postgres:5432/joomla
depends_on:
- postgres