Skip to content

Help with docker-compose.yaml file for player logging #316

Answered by lloesche
CheeseCriminal asked this question in Q&A
Discussion options

You must be logged in to vote

Are you maybe accidentally trying to read the file on your host system instead of inside the container?

I just tried to debug your setup copy'pasting your config above but all seems to work fine.

Config

lukas@MACROMI:~/foobar$ cat docker-compose.yaml
version: "3"

services:
  valheim:
    image: lloesche/valheim-server
    cap_add:
      - sys_nice
    volumes:
      - $HOME/valheim-server/config:/config
      - $HOME/valheim-server/data:/opt/valheim
    ports:
      - "2456-2457:2456-2457/udp"
      - "9001:9001/tcp"
    env_file:
      - $HOME/valheim-server/valheim.env
    environment:
      - VALHEIM_LOG_FILTER_CONTAINS_Spawned=Got character ZDOID from
      - ON_VALHEIM_LOG_FILTER_CO…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@CheeseCriminal
Comment options

Answer selected by CheeseCriminal
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants