docker-infrastructure/1c-collaboration-server/docker-compose.yaml

25 lines
726 B
YAML

version: '3.3'
services:
collaboration-server:
image: asdaru/collaboration_server_1c
container_name: collaboration-server
depends_on:
- postgres
restart: always
environment:
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_DB: cs
POSTGRES_URL: postgres:5342/cs
ports:
- 8181:8181
postgres:
container_name: postgres
image: postgres:13
restart: always
volumes:
- /mnt/containers/1c-collaboration-server/container-data/db:/var/lib/postgresql/data:Z
environment:
POSTGRES_DB: cs
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres