-
I have the container running in an ubuntu 20.04 VM. I'm able to browse to the server, but I can't seem to get the binding to work to move my world over. I did briefly get it working by manually copying the files into the container, but it seems to disappear on restart. Specifically, these two lines in docker-compose.yaml don't seem to work:
I copied my world files into $HOME/valheim-server/config/worlds and set the world name to match in valheim.env. However, the server just generates a new map with that name. Also, I'm not entirely clear what the /data directory is for. I don't have any files to put there? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Was able to get it working by adding single quotes and changing the path to a relative path:
Additionally I removed the /opt/volume mount as I don't have the server downloaded outside the container. |
Beta Was this translation helpful? Give feedback.
Was able to get it working by adding single quotes and changing the path to a relative path:
volumes:
- './config:/config'
Additionally I removed the /opt/volume mount as I don't have the server downloaded outside the container.