33 lines
752 B
YAML
33 lines
752 B
YAML
version: '3'
|
|
|
|
services:
|
|
medicine-lis-receiver:
|
|
restart: "always"
|
|
image: docker.med-logic.ru/medicine-lis-receiver:latest
|
|
container_name: medicine-lis-receiver
|
|
environment:
|
|
DATABASE_URL: postgres:password@postgres-host/medicine
|
|
SUPERVISOR_HTTP_USERNAME: admin
|
|
SUPERVISOR_HTTP_PASSWORD: p@ssword
|
|
ports:
|
|
- "9501:800"
|
|
- "5100:800"
|
|
- "810:810"
|
|
networks:
|
|
- medicine-network
|
|
external_links:
|
|
- "postgres:postgres-host"
|
|
volumes:
|
|
- ./supervisor_confs:/supervisor_confs
|
|
- ./streams:/streams
|
|
logging:
|
|
driver: "json-file"
|
|
options:
|
|
max-size: "200k"
|
|
max-file: "10"
|
|
|
|
networks:
|
|
medicine-network:
|
|
external:
|
|
name: "medicine-network"
|