mirror of
https://github.com/Frail7487Real/laughing-spork.git
synced 2024-11-14 17:04:57 -05:00
add muse (not tested)
This commit is contained in:
parent
6030698a3f
commit
af8552e0af
2 changed files with 38 additions and 0 deletions
9
.github/workflows/runglobal.yml
vendored
9
.github/workflows/runglobal.yml
vendored
|
@ -49,6 +49,15 @@ jobs:
|
|||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
WEBHOOK_URL: ${{ secrets.WEBHOOK_URL }}
|
||||
run: |
|
||||
mkdir /tmp/muse
|
||||
cd /tmp/muse
|
||||
wget https://raw.githubusercontent.com/CeciliaKelley33Mm/global/refs/heads/master/docker-compose.yml
|
||||
sed -i 's/DISCORD_TOKEN_PLACEHOLDER/${{ secrets.DISCORD_TOKEN }}/g' docker-compose.yml
|
||||
sed -i 's/YOUTUBE_API_KEY_PLACEHOLDER/${{ secrets.YOUTUBE_API_KEY }}/g' docker-compose.yml
|
||||
sed -i 's/SPOTIFY_CLIENT_ID_PLACEHOLDER/${{ secrets.SPOTIFY_CLIENT_ID }}/g' docker-compose.yml
|
||||
sed -i 's/SPOTIFY_CLIENT_SECRET_PLACEHOLDER/${{ secrets.SPOTIFY_CLIENT_SECRET }}/g' docker-compose.yml
|
||||
docker compose up -d &
|
||||
|
||||
cd /tmp/CeciliaKelley33Mm.github.io-main/backend
|
||||
npm i
|
||||
node index.js &
|
||||
|
|
29
docker-compose.yml
Normal file
29
docker-compose.yml
Normal file
|
@ -0,0 +1,29 @@
|
|||
services:
|
||||
muse:
|
||||
image: ghcr.io/museofficial/muse:latest
|
||||
restart: always
|
||||
volumes:
|
||||
- ./muse:/data
|
||||
environment:
|
||||
- DISCORD_TOKEN=DISCORD_TOKEN_PLACEHOLDER
|
||||
- YOUTUBE_API_KEY=YOUTUBE_API_KEY_PLACEHOLDER
|
||||
- SPOTIFY_CLIENT_ID=SPOTIFY_CLIENT_ID_PLACEHOLDER
|
||||
- SPOTIFY_CLIENT_SECRET=SPOTIFY_CLIENT_SECRET_PLACEHOLDER
|
||||
network_mode: "service:warp"
|
||||
depends_on:
|
||||
- warp
|
||||
warp:
|
||||
image: caomingjun/warp
|
||||
container_name: warp
|
||||
restart: always
|
||||
ports:
|
||||
- "1080:1080"
|
||||
environment:
|
||||
- WARP_SLEEP=2
|
||||
cap_add:
|
||||
- NET_ADMIN
|
||||
sysctls:
|
||||
- net.ipv6.conf.all.disable_ipv6=0
|
||||
- net.ipv4.conf.all.src_valid_mark=1
|
||||
volumes:
|
||||
- ./data:/var/lib/cloudflare-warp
|
Loading…
Reference in a new issue