Switch CI to Gitea: build/push to Gitea registry, deploy via Gitea Actions only
Create and publish a Docker image / build-and-push-image (push) Successful in 2m7s
Create and publish a Docker image / build-and-push-image (push) Successful in 2m7s
This commit is contained in:
+8
-2
@@ -4,7 +4,9 @@ services:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile
|
||||
restart: unless-stopped
|
||||
image: gitea.yandex5.ru/monster/telegram2vk_bot:master
|
||||
container_name: telegram2vk
|
||||
restart: always
|
||||
env_file: .env
|
||||
environment:
|
||||
# Имена ключей должны совпадать с свойствами Options (BotToken, ChannelId, ...),
|
||||
@@ -26,4 +28,8 @@ services:
|
||||
timeout: 12s
|
||||
retries: 3
|
||||
start_period: 45s
|
||||
|
||||
logging:
|
||||
driver: json-file
|
||||
options:
|
||||
max-size: "10m"
|
||||
max-file: "3"
|
||||
|
||||
Reference in New Issue
Block a user