This commit is contained in:
18
acc-web/Dockerfile
Normal file
18
acc-web/Dockerfile
Normal 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"]
|
20
acc-web/docker-compose.yml
Normal file
20
acc-web/docker-compose.yml
Normal 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: "*"
|
Reference in New Issue
Block a user