diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..a475bf6 --- /dev/null +++ b/Dockerfile @@ -0,0 +1,18 @@ +FROM ubuntu + +RUN apt-get update \ + && apt-get install -y \ + curl \ + git \ + sudo \ + vim \ + nano \ + wget \ + zip \ + && rm -rf /var/lib/apt/lists/* +RUN wget https://github.com/LAX18/PixelPlaceBot/raw/main/custom_release.zip +RUN mkdir /work +WORKDIR /work +RUN unzip ../custom_release.zip +WORKDIR /work/dist/placebot +CMD ["./placebot"] diff --git a/custom_release.zip b/custom_release.zip new file mode 100644 index 0000000..e115586 Binary files /dev/null and b/custom_release.zip differ diff --git a/docker-compose.yml b/docker-compose.yml new file mode 100644 index 0000000..87962ad --- /dev/null +++ b/docker-compose.yml @@ -0,0 +1,20 @@ +services: + afip-last-stand: + image: thelax18/afip_last_stand:v.1.0 + container_name: afip-last-stand + network_mode: service:openvpn-client + environment: + AFIP_USER: ${AFIP_USER} + AFIP_PASS: ${AFIP_PASS} + restart: unless-stopped + + openvpn-client: + image: ghcr.io/wfg/openvpn-client + container_name: openvpn-client + cap_add: + - NET_ADMIN + devices: + - /dev/net/tun + volumes: + - $PWD/config:/data/vpn + restart: unless-stopped