OpenFactorioServerManager / factorio-server-manager

A tool to help manage Factorio multiplayer servers including mods and save games.
MIT License
541 stars 130 forks source link

Synology installation problem #335

Open maxage opened 1 year ago

maxage commented 1 year ago

Unraid has one-click installation, how does Synology use docker to install fsm?

docker run --name ofsm -d  \
-p 1880:80  \
-p 34197:34197/udp  \
-v /volume1/docker/factorio/fsm-saves:/opt/factorio/fsm-saves \
-v /volume1/docker/factorio/fsm-config:/opt/factorio/fsm-config \
-v /volume1/docker/factorio/fsm-mods:/opt/factorio/fsm-mods \
ofsm/ofsm:latest

Is this one-click docker correct? Can you help me modify it?

vzwqqE

Mattie112 commented 1 year ago

I don't know Chinese (and don't use Synology) but you need(*) to map those 3 folders to something on your file system. Also the port needs to be mapped or your server cannot be reached.

See https://github.com/OpenFactorioServerManager/factorio-server-manager/blob/develop/docker/README.md for more info (and the docker-compose.simple.yaml)

*) technically you don't need to map the folders but then they are stored 'in' the docker container and if that gets updated for example your data is gone. More info: https://docs.docker.com/storage/volumes/