1
0
mirror of synced 2024-11-21 12:06:03 +03:00
mg-transport-telegram/docker-compose.yml
Akolzin Dmitry 0b553cafd3 Message note
2019-03-19 10:33:20 +03:00

27 lines
667 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:5432}:${POSTGRES_PORT:-5432}
mg_telegram:
image: golang:1.11-stretch
working_dir: /mgtg
user: ${UID:-1000}:${GID:-1000}
environment:
GOCACHE: /go
volumes:
- ./:/mgtg
- ./static:/static/
links:
- postgres
ports:
- ${MG_TELEGRAM_ADDRESS:-3001}:3001
command: make run