1
0
mirror of synced 2024-11-25 13:16:02 +03:00
mg-transport-telegram/docker-compose.yml
Alex Lushpai acb2a62da5
Initial release (#1)
Routes
Migrations
Settings form
Activation/deactivation through retailCRM/MG Transport API
2018-05-17 18:35:53 +03:00

24 lines
587 B
YAML

version: '2.1'
services:
postgres:
image: postgres:9.6
environment:
POSTGRES_USER: mg_telegram
POSTGRES_PASSWORD: mg_telegram
POSTGRES_DATABASE: mg_telegram
ports:
- ${POSTGRES_ADDRESS:-127.0.0.1:5434}:5432
mg_telegram:
image: golang:1.9.3-stretch
working_dir: /mg_telegram
user: ${UID:-1000}:${GID:-1000}
volumes:
- ./:/mg_telegram/
links:
- postgres
ports:
- ${MG_TELEGRAM_ADDRESS:-3001}:3001
command: make run