|
version: '3.8'
|
|
services:
|
|
service:
|
|
image: docker.nclazz.de/nclazz-bots/teabot:$VERSION
|
|
environment:
|
|
GITEA_TOKEN: "${GITEA_TOKEN}"
|
|
NCLAZZ_AUTH_TOKEN: "${AUTH_TOKEN}"
|
|
deploy:
|
|
replicas: 1
|
|
placement:
|
|
max_replicas_per_node: 1
|
|
update_config:
|
|
order: start-first
|
|
ports:
|
|
- "${PORT}:8080" |