28 lines
578 B
YAML
28 lines
578 B
YAML
version: '3.7'
|
|
|
|
services:
|
|
# 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
|
|
|
|
mysql:
|
|
image: mysql:8
|
|
environment:
|
|
- MYSQL_RANDOM_ROOT_PASSWORD=true
|
|
- MYSQL_USER=go
|
|
- MYSQL_PASSWORD=go
|
|
- MYSQL_DATABASE=go
|
|
ports:
|
|
- 3306:3306 |