From ce4d7a3ac8bfcb6f8ade951a8ba9d8fde4bcf49f Mon Sep 17 00:00:00 2001 From: z3orc Date: Sat, 10 Apr 2021 02:01:55 +0200 Subject: [PATCH] Fixed perm-issue --- Dockerfile | 4 +--- docker-compose.yml | 26 +++++++++++++------------- 2 files changed, 14 insertions(+), 16 deletions(-) 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: