mirror of
https://github.com/danog/TelegramApiServer.git
synced 2024-11-30 04:19:13 +01:00
dd9803e079
Feat: use docker healthcheck
23 lines
483 B
YAML
23 lines
483 B
YAML
services:
|
|
api:
|
|
extends:
|
|
file: docker-compose.base.yml
|
|
service: base-api
|
|
image: xtrime/telegram-api-server:dev
|
|
build:
|
|
context: .
|
|
dockerfile: Dockerfile-dev
|
|
ports:
|
|
- "127.0.0.1:9503:9503"
|
|
- "9003"
|
|
environment:
|
|
PHP_IDE_CONFIG: "serverName=Docker"
|
|
mysql:
|
|
extends:
|
|
file: docker-compose.base.yml
|
|
service: base-mysql
|
|
ports:
|
|
- "127.0.0.1:9507:3306"
|
|
networks:
|
|
default:
|
|
name: telegram-api-server |