switch to acc-web
Some checks failed
Build and push image / Build (push) Failing after 59s

This commit is contained in:
Jack
2023-09-27 15:14:48 +01:00
parent ada886c03a
commit 0009ba67eb
46 changed files with 40 additions and 2937 deletions

18
acc-web/Dockerfile Normal file
View File

@@ -0,0 +1,18 @@
FROM ubuntu:22.04
RUN apt update && apt-get unzip zip -y
RUN dpkg --add-architecture i386
RUN mkdir -pm755 /etc/apt/keyrings
RUN wget -O /etc/apt/keyrings/winehq-archive.key https://dl.winehq.org/wine-builds/winehq.key
RUN wget -NP /etc/apt/sources.list.d/ https://dl.winehq.org/wine-builds/ubuntu/dists/jammy/winehq-jammy.sources
RUN apt update
RUN apt install --install-recommends winehq-stable -y
RUN wget https://github.com/assetto-corsa-web/accweb/releases/download/v1.21.0/accweb_v1.21.0.zip
RUN unzip accweb_v1.21.0.zip -d /accweb
RUN mkdir -p /accweb
WORKDIR /accweb
CMD ["./accweb"]

View File

@@ -0,0 +1,20 @@
version: '3'
services:
accweb:
image: git.tgj.services/thatguyjack/acc-web:latest
container_name : accweb-server
restart: unless-stopped
ports:
- 8080:8080
volumes:
# - accweb:/accweb
# - acccerts:/sslcerts
- ./accserver:/accserver
environment:
ACCWEB_HOST: 0.0.0.0:8080
ACCWEB_ENABLE_TLS: "false"
ACCWEB_ADMIN_PASSWORD: weakadminpassword
ACCWEB_MOD_PASSWORD: weakmodpassword
ACCWEB_RO_PASSWORD: weakropassword
ACCWEB_LOGLEVEL: info
ACCWEB_CORS: "*"