Feat: some renamings
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
This commit is contained in:
@@ -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:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
services:
|
||||
bot:
|
||||
image: aboba:latest
|
||||
image: nwxraybot:latest
|
||||
deploy:
|
||||
replicas: 1
|
||||
restart_policy:
|
||||
|
||||
2
run.sh
2
run.sh
@@ -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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user