lloesche / valheim-server-docker

Valheim dedicated gameserver with automatic update, World backup, BepInEx and ValheimPlus mod support
https://hub.docker.com/r/lloesche/valheim-server
Apache License 2.0
1.92k stars 269 forks source link

Please provide an example of a compose file of this container running Valheim Plus #528

Closed jpcapone closed 1 year ago

jpcapone commented 1 year ago

I don't know where else to ask this question but I am looking for an example of a compose file that has valheim plus enabled. This is what I have so far.

version: '3.3'
services:
    valheim-server:
        container_name: valheim-server
        ports:
            - '2456-2457:2456-2457/udp'
        volumes:
            - '/var/lib/docker/volumes/valheim-server/config:/config'
            - '/var/lib/docker/volumes/valheim-server/data:/opt/valheim'
            - '/var/lib/docker/volumes/valheim-server/config/valheimplus:/config/valheimplus'
            - '/var/lib/docker/volumes/valheim-server/config/valheimplus/plugins:/config/valheimplus/plugins'
        environment:
            - 'SERVER_NAME=Valheim'
            - WORLD_NAME=Neotopia
            - SERVER_PASS=MyrtleAvenue
            - SERVER_PUBLIC=false
            - VALHEIM_PLUS=true
        image: /valheim-server

My thoughts are that I need this file and path in place /config/valheimplus/valheim_plus.cfg or use environment variables prefixed with VPCFG for configuration of the mod.
Please let me know if this is the best way to go about this, TIA!!!

jpcapone commented 1 year ago

The provided documentation was clear enough to help me complete the task