1
0
mirror of synced 2024-11-22 12:26:02 +03:00
mg-transport-telegram/docker-compose-test.yml

26 lines
671 B
YAML
Raw Normal View History

version: '2.1'
services:
postgres_test:
image: postgres:9.6
environment:
POSTGRES_USER: mg_telegram_test
POSTGRES_PASSWORD: mg_telegram_test
POSTGRES_DATABASE: mg_telegram_test
ports:
2018-05-31 15:03:57 +03:00
- ${POSTGRES_ADDRESS:-127.0.0.1:5434}:${POSTGRES_PORT:-5432}
mg_telegram_test:
image: golang:1.11-stretch
2018-05-31 15:03:57 +03:00
working_dir: /mgtg
user: ${UID:-1000}:${GID:-1000}
2018-08-17 13:36:25 +03:00
environment:
GOCACHE: /go
volumes:
- ./:/mgtg
2018-05-31 15:03:57 +03:00
- ./static:/static/
links:
- postgres_test
2018-05-25 16:01:58 +03:00
ports:
- ${MG_TELEGRAM_ADDRESS:-3002}:3002