Upload files to "/"
This commit is contained in:
commit
5c52e7906a
12
Dockerfile
Normal file
12
Dockerfile
Normal file
@ -0,0 +1,12 @@
|
||||
FROM ubuntu:latest
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y wget nano gnupg
|
||||
RUN wget -O - http://procyon.ddns.net:8080/propilkki_pub.gpg.key | apt-key add -
|
||||
RUN echo "deb http://procyon.ddns.net:8080/repos/apt/ubuntu focal main" | tee -a /etc/apt/sources.list
|
||||
RUN apt-get update
|
||||
RUN apt-get install pp2host
|
||||
COPY pp2host.conf /etc/pp2host/pp2host.conf
|
||||
COPY autoscript.txt /etc/pp2host/static/autoscript.txt
|
||||
COPY autohost.ini /etc/pp2host/static/autohost.ini
|
||||
CMD ["sh", "-c", "service pp2host start && tail -f /dev/null"]
|
||||
|
6
autohost.ini
Normal file
6
autohost.ini
Normal file
@ -0,0 +1,6 @@
|
||||
/players 31
|
||||
/autohost on
|
||||
/lures all
|
||||
/wait 60
|
||||
/autoscript off
|
||||
|
10
autoscript.txt
Normal file
10
autoscript.txt
Normal file
@ -0,0 +1,10 @@
|
||||
/autohost on
|
||||
/results 10
|
||||
/lures all
|
||||
/wait 30
|
||||
/lake Haapolahti,3,3,3
|
||||
/game 1,1
|
||||
/hello Haapolahti
|
||||
#go back to start
|
||||
/autoscript on
|
||||
|
47
pp2host.conf
Normal file
47
pp2host.conf
Normal file
@ -0,0 +1,47 @@
|
||||
# ----------------------------------------------------------
|
||||
# Pro Pilkki 2 host damon configuration file (pp2host.conf)
|
||||
# (C) Copyright Procyon Products
|
||||
# ----------------------------------------------------------
|
||||
|
||||
# System user account to run the daemon
|
||||
DAEMON_USER=root
|
||||
|
||||
# Network port
|
||||
NETWORK_PORT=4500
|
||||
|
||||
# List game to public hostlist
|
||||
PUBLIC=yes
|
||||
|
||||
# Show game in public hostlist web page (game must also be public)
|
||||
PUBLIC_WEB=yes
|
||||
|
||||
# Game hello text, visible on public host list
|
||||
HELLO="HELLO"
|
||||
|
||||
# Password for accessing the game
|
||||
GAME_PASSWORD=""
|
||||
|
||||
# Password for controlling the game via web browser or in-game chat
|
||||
ADMIN_PASSWORD="password"
|
||||
|
||||
# Password for controlling the game as a host via web browser
|
||||
HOST_PASSWORD="password"
|
||||
|
||||
# Host player name
|
||||
PLAYER_NAME="Fisherman"
|
||||
|
||||
# Host nationality
|
||||
PLAYER_NATION="FIN"
|
||||
|
||||
# Network records account e-mail (trusted host)
|
||||
REC_MAIL=""
|
||||
|
||||
# Network records password (trusted host)
|
||||
REC_PASSWORD="password"
|
||||
|
||||
# Minumum client version allowed to enter game
|
||||
MIN_CLIENT_VER=""
|
||||
|
||||
# Maximum client version allowed to enter game
|
||||
MAX_CLIENT_VER=""
|
||||
|
Loading…
x
Reference in New Issue
Block a user