2020-04-11 21:27:24 +00:00
|
|
|
version: '3.7'
|
|
|
|
|
|
|
|
services:
|
2023-08-07 17:05:12 +00:00
|
|
|
# app:
|
|
|
|
# image: group_helper:latest
|
|
|
|
# build:
|
|
|
|
# context: .
|
|
|
|
# dockerfile: Dockerfile
|
|
|
|
# restart: on-failure
|
|
|
|
# environment:
|
|
|
|
# - TELEGRAM_KEY=340059059:AAG8MRgRmdk5nI_hye5HkSwQyV9wqwoUSbA
|
|
|
|
# - DB_DEBUG=true
|
|
|
|
# - DB_TYPE=mysql
|
|
|
|
# - DB_HOST=mysql
|
|
|
|
# - DB_PORT=3306
|
|
|
|
# - DB_USER=go
|
|
|
|
# - DB_PASS=go
|
|
|
|
# - DB_DATABASE=go
|
2020-04-11 21:27:24 +00:00
|
|
|
|
|
|
|
mysql:
|
|
|
|
image: mysql:8
|
|
|
|
environment:
|
|
|
|
- MYSQL_RANDOM_ROOT_PASSWORD=true
|
|
|
|
- MYSQL_USER=go
|
|
|
|
- MYSQL_PASSWORD=go
|
|
|
|
- MYSQL_DATABASE=go
|
|
|
|
ports:
|
|
|
|
- 3306:3306
|