Feat: some renamings
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

This commit is contained in:
2024-12-27 20:41:54 +03:00
parent 71613988a1
commit eecc7b3920
4 changed files with 3 additions and 14 deletions

View File

@@ -7,7 +7,7 @@ steps:
image: docker:latest
commands:
- echo "$ENV_FILE" > .env
- docker build -t aboba .
- docker build -t nwxraybot:latest .
volumes:
- /var/run/docker.sock:/var/run/docker.sock
environment:

View File

@@ -1,6 +1,6 @@
services:
bot:
image: aboba:latest
image: nwxraybot:latest
deploy:
replicas: 1
restart_policy:

2
run.sh
View File

@@ -4,4 +4,4 @@ set -e
export $(grep -E -v '^#' .env | xargs)
docker stack deploy -c docker-compose.yml aboba
docker stack deploy -c docker-compose.yml nwxraybot

View File

@@ -1,11 +0,0 @@
[supervisord]
nodaemon=false
[program:mybot]
command=python main.py
directory=/app
user=root
autostart=true
autorestart=true
stderr_logfile=/app/bot_err.log
stdout_logfile=/app/bot_out.log