add launchscript

This commit is contained in:
churl
2022-01-20 23:22:13 +01:00
parent 7b74080362
commit dbf611fddd
2 changed files with 4 additions and 1 deletions

View File

@ -2,4 +2,4 @@ The environment variables "DISCORD_TOKEN" and "DISCORD_GUILD" must be set to run
When run locally the boat loads an existing ".env"-file from the same directory as the script.
When running a docker container an ".env"-file can be loaded with "--env-file .env".
docker run -d --env-file .env --mount src=/root/HeidiBot/voicelines,target=/sounds,type=bind registry.gitlab.com/churl/heidibot:latest
docker run -d --env-file .env --mount src=/root/HeidiBot/voicelines,target=/sounds,type=bind --name heidibot registry.gitlab.com/churl/heidibot