Compare commits
No commits in common. "fa7a8c76d2ff28030f0554416d0a7a9f225c8240" and "996223cd90d16a196131c566f2077ba045c03d08" have entirely different histories.
fa7a8c76d2
...
996223cd90
@ -1,14 +0,0 @@
|
||||
name: Test build
|
||||
run-name: ${{ gitea.event_name }} is testing out Gitea Actions 🚀
|
||||
on: [push]
|
||||
|
||||
jobs:
|
||||
Build-Docker:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Check out repository code
|
||||
uses: actions/checkout@v4
|
||||
- name: Set up Docker Buildx
|
||||
uses: docker/setup-buildx-action@v2
|
||||
- name: Build Docker Image
|
||||
run: docker buildx build -t ${{ vars.DOCKER_TAG }} .
|
22
Dockerfile
22
Dockerfile
@ -1,22 +0,0 @@
|
||||
FROM xenon3d/archean-server-alpha
|
||||
|
||||
RUN adduser --disabled-password --home /home/container container
|
||||
|
||||
USER container
|
||||
ENV USER=container HOME=/home/container
|
||||
|
||||
WORKDIR /home/container
|
||||
CMD ["/bin/bash", "/entrypoint.sh"]
|
||||
|
||||
COPY archean_start.sh archean_start.sh
|
||||
COPY server.ini server/server.ini
|
||||
COPY entrypoint.sh /entrypoint.sh
|
||||
|
||||
USER root
|
||||
|
||||
RUN chown -R container:container /home/container
|
||||
RUN chown -R container:container /Archean-data/
|
||||
RUN chown -R container:container /Archean-server-alpha/
|
||||
RUN chmod -R 755 /home/container
|
||||
RUN chmod -R 755 /Archean-data
|
||||
RUN chmod -R 755 /Archean-server-alpha
|
@ -1,6 +1,2 @@
|
||||
# archean-server-pelican
|
||||
|
||||
This is a modified docker container of the server container for archean to work with pelican panel.
|
||||
|
||||
- [Docker repo](https://hub.docker.com/repository/docker/tueem/archean-server-pelican/general)
|
||||
|
||||
|
@ -1,12 +0,0 @@
|
||||
#!/bin/bash
|
||||
|
||||
sed "s/^game_mode=.*/game_mode=$( [ "$GAME_MODE" = "creative" ] && echo 0 || echo 1)/" server/server.ini > server/server.ini
|
||||
sed "s/^server_online=.*/server_online=$( [ "$ONLINE_MODE" = "0" ] && echo no || echo yes)/" server/server.ini > server/server.ini
|
||||
sed "s/^max_simultaneous_players=.*/max_simultaneous_players=$MAX_PLAYERS/" server/server.ini > server/server.ini
|
||||
sed "s/^password=.*/password=$PASSWORD/" server/server.ini > server/server.ini
|
||||
sed "s/^server_public_name=.*/server_public_name=$NAME/" server/server.ini > server/server.ini
|
||||
sed "s/^listen_port=.*/listen_port=$SERVER_PORT/" server/server.ini > server/server.ini
|
||||
sed "s/^spawn=.*/spawn=$SPAWN_PLANET/" server/server.ini > server/server.ini
|
||||
sed "s/^auto_save_interval_seconds=.*/auto_save_interval_seconds=$AUTOSAVE_INTERVAL/" server/server.ini > server/server.ini
|
||||
sed "s/^updates_per_second=.*/updates_per_second=$UPDATES_PER_SECOND/" server/server.ini > server/server.ini
|
||||
sed "s/^physics_steps_per_update=.*/physics_steps_per_update=$PHYSICS_UPDATES_PER_UPDATE/" server/server.ini > server/server.ini
|
@ -1,11 +0,0 @@
|
||||
#!/bin/bash
|
||||
cd /home/container
|
||||
|
||||
./archean_start.sh
|
||||
|
||||
# Replace Startup Variables
|
||||
MODIFIED_STARTUP=`eval echo $(echo ${STARTUP} | sed -e 's/{{/${/g' -e 's/}}/}/g')`
|
||||
echo ":/home/container$ ${MODIFIED_STARTUP}"
|
||||
|
||||
# Run the Server
|
||||
${MODIFIED_STARTUP}
|
18
server.ini
18
server.ini
@ -1,18 +0,0 @@
|
||||
[server]
|
||||
server_public_name=Pelican Server
|
||||
game_mode=0
|
||||
server_online=no
|
||||
accept_remote_connections=yes
|
||||
max_simultaneous_players=16
|
||||
password=
|
||||
|
||||
[networking]
|
||||
listen_port=8881
|
||||
listen_new_connection_timeout_ms=500
|
||||
automatic_blacklist=no
|
||||
|
||||
[game]
|
||||
spawn=earth
|
||||
updates_per_second=25
|
||||
physics_steps_per_update=8
|
||||
auto_save_interval_seconds=30
|
Loading…
x
Reference in New Issue
Block a user