-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #120 from rockcutter/#118_add_docker-compose.yml
#118 add docker compose.yml
- Loading branch information
Showing
3 changed files
with
30 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: '3' | ||
services: | ||
maidea: | ||
image: ubuntu:22.04 | ||
container_name: maidea | ||
volumes: | ||
- .:/maidea | ||
tty: true | ||
entrypoint: /maidea/entrypoint.sh | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/bash | ||
apt update -y | ||
apt install -y git | ||
apt install -y build-essential | ||
apt install -y cmake | ||
apt install -y libssl-dev | ||
apt install -y libboost-dev | ||
apt install -y libboost-program-options-dev | ||
cd /maidea | ||
git clone https://github.com/yourWaifu/sleepy-discord.git | ||
mkdir bld | ||
cd bld | ||
cmake ../ | ||
make | ||
cp /maidea/maidea.cfg /maidea/bld/maidea.cfg | ||
/maidea/bld/maidea | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
DISCORD_TOKEN=token_here | ||
PRIVILEGED_USER=userid_here | ||
|