зеркало из
1
0
Форкнуть 0
opensource-management-portal/docker-compose.yml

44 строки
788 B
YAML

version: '3.7'
services:
portal:
image: opensource-portal
build: .
ports:
- '3000:3000'
networks:
- portal
env_file:
- .secrets.env
- .docker.env
volumes:
- '${PWD}/env-orgs.json:/usr/src/env-orgs.json'
depends_on:
- portal-cache
- portal-db
portal-cache:
image: redis
command: redis-server --protected-mode no
networks:
- portal
portal-db:
image: postgres
networks:
- portal
volumes:
- portal_postgres_data:/var/lib/postgresql/data
- ./pg.sql:/docker-entrypoint-initdb.d/pg.sql
environment:
POSTGRES_DB: portal-repos
POSTGRES_USER: portal
POSTGRES_PASSWORD: latrop
networks:
portal:
volumes:
portal_postgres_data:
driver: local