* Fixed bootstrap executable mode

* Fixed compose file defaults
* Fixed entrypoint
This commit is contained in:
Nosk Lo Github 2022-03-01 21:02:41 +00:00
parent bd70c8b67c
commit 3069fdbaad
3 changed files with 5 additions and 5 deletions

0
bootstrap Normal file → Executable file
View File

View File

@ -5,14 +5,14 @@ version: "3.7"
services: services:
vhserver: vhserver:
network_mode: host network_mode: host
image: "nosklo/valheim-base" image: "nosklo/varmheim"
build: build:
context: . context: .
dockerfile: valheim.Dockerfile dockerfile: valheim.Dockerfile
environment: # environment:
NAME: $VALHEIM_SERVER_NAME # NAME: Docker Server
# WORLD: ServerWorldFilename # WORLD: ServerWorldFilename
PASSWORD: $VALHEIM_SERVER_PASSWORD # PASSWORD: nopassword
# SAVEDIR: /vhsave # SAVEDIR: /vhsave
# PUBLIC: 0 # PUBLIC: 0
# PORT: 2456 # PORT: 2456

View File

@ -56,4 +56,4 @@ RUN git clone https://github.com/ptitSeb/box64 \
EXPOSE 2456-2457/udp EXPOSE 2456-2457/udp
WORKDIR /root WORKDIR /root
COPY bootstrap . COPY bootstrap .
CMD ["/root/bootstrap"] ENTRYPOINT ["/bin/bash", "/root/bootstrap"]