diff --git a/Dockerfile b/Dockerfile index e98268f..3f1fdfc 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,8 +8,6 @@ WORKDIR /home/steam/valheim COPY entrypoint.sh /home/steam/valheim -RUN chmod +x entrypoint.sh - EXPOSE 2456-2458/udp ENV NAME="My server" ENV PASSWORD="secret" @@ -17,6 +15,6 @@ ENV WORLD="Dedicated" ENV PORT=2456 ENV PUBLIC=1 -ENTRYPOINT ["/bin/bash", "-c" , "exec ./entrypoint.sh"] +ENTRYPOINT ["./entrypoint.sh"] VOLUME [ "/home/steam/valheim", "/home/steam/.config/unity3d/IronGate/Valheim" ] diff --git a/docker-compose.yml b/docker-compose.yml index 5ed63bc..f6a45d2 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -18,19 +18,19 @@ services: restart: on-failure init: true - backup: - depends_on: - - gameserver - image: z3orc/gameserver-backup:latest - # build: - # context: ./backup - # dockerfile: Dockerfile - environment: - WORLD: "Dedicated" - volumes: - - valheim_save:/home/steam/valheimbackup/mnt - - valheim_backup:/home/steam/valheimbackup/dest - restart: on-failure + # backup: + # depends_on: + # - gameserver + # image: z3orc/gameserver-backup:latest + # # build: + # # context: ./backup + # # dockerfile: Dockerfile + # environment: + # WORLD: "Dedicated" + # volumes: + # - valheim_save:/home/steam/valheimbackup/mnt + # - valheim_backup:/home/steam/valheimbackup/dest + # restart: on-failure volumes: valheim_data: