dockerized
This commit is contained in:
parent
b6b0c07d33
commit
d23015ba56
8
.build/Dockerfile
Normal file
8
.build/Dockerfile
Normal file
@ -0,0 +1,8 @@
|
||||
FROM archlinux
|
||||
|
||||
WORKDIR /root
|
||||
RUN pacman -Sy --noconfirm mpv jq curl speedtest-cli
|
||||
|
||||
COPY . .
|
||||
|
||||
CMD ./bot.sh
|
15
.build/docker-compose.yml
Normal file
15
.build/docker-compose.yml
Normal file
@ -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
|
8
compose.yml
Normal file
8
compose.yml
Normal file
@ -0,0 +1,8 @@
|
||||
version: '3.5'
|
||||
services:
|
||||
|
||||
bot:
|
||||
hostname: starlink_status
|
||||
image: git.shihaam.dev/shihaam/starlink_status
|
||||
env_file:
|
||||
- ./.env
|
Loading…
x
Reference in New Issue
Block a user