TelegramApiServer/docker-compose.yml

33 lines
751 B
YAML
Raw Normal View History

2020-06-08 00:42:49 +02:00
version: '3.5'
2020-03-09 00:42:17 +01:00
services:
telegram-api-server:
2020-03-11 00:20:14 +01:00
image: xtrime/telegram-api-server:latest
2020-03-09 00:42:17 +01:00
container_name: telegram-api-server
restart: unless-stopped
ports:
- "127.0.0.1:9503:9503"
2020-03-09 22:38:56 +01:00
volumes:
2020-03-11 00:20:14 +01:00
- ./:/app-host-link
working_dir: /app-host-link
2020-06-07 22:56:42 +02:00
depends_on:
- mysql
environment:
WAIT_HOSTS: mysql:3306
2020-03-09 00:42:17 +01:00
logging:
driver: "json-file"
options:
2020-03-11 00:20:14 +01:00
max-size: "1024k"
2020-06-07 22:56:42 +02:00
max-file: "2"
mysql:
2020-11-02 00:12:43 +01:00
image: mariadb:10.5
2020-06-07 22:56:42 +02:00
container_name: telegram-api-server-mysql
restart: unless-stopped
ports:
- "127.0.0.1:9507:3306"
volumes:
- ./.mysql:/var/lib/mysql
environment:
2020-06-08 00:42:49 +02:00
MYSQL_ALLOW_EMPTY_PASSWORD: 'yes'
networks:
default:
name: telegram-api-server