diff --git a/.build/Dockerfile b/.build/Dockerfile new file mode 100644 index 0000000..8bbb73e --- /dev/null +++ b/.build/Dockerfile @@ -0,0 +1,8 @@ +FROM archlinux + +WORKDIR /root +RUN pacman -Sy --noconfirm mpv jq curl speedtest-cli + +COPY . . + +CMD ./bot.sh diff --git a/.build/docker-compose.yml b/.build/docker-compose.yml new file mode 100644 index 0000000..73210c0 --- /dev/null +++ b/.build/docker-compose.yml @@ -0,0 +1,15 @@ +version: '3.5' +services: + starlink_status: + build: + context: .. + dockerfile: .build/Dockerfile + x-bake: + platforms: + - linux/amd64/v1 + - linux/amd64/v2 + - linux/amd64/v3 +# - linux/arm/v7 +# - linux/arm64 + pull: true + image: git.shihaam.dev/shihaam/starlink_status diff --git a/compose.yml b/compose.yml new file mode 100644 index 0000000..63ff392 --- /dev/null +++ b/compose.yml @@ -0,0 +1,8 @@ +version: '3.5' +services: + + bot: + hostname: starlink_status + image: git.shihaam.dev/shihaam/starlink_status + env_file: + - ./.env