mirror of
https://github.com/Sanae6/SmoOnlineServer.git
synced 2024-11-18 09:15:13 +00:00
add docker-compose.yml
This commit is contained in:
parent
ea1baee470
commit
cafae6b562
2 changed files with 17 additions and 0 deletions
|
@ -32,6 +32,11 @@ docker run --rm -it -p 1027:1027 -v smoo-data:/data/ ghcr.io/sanae6/smo-on
|
|||
|
||||
To always check for and use the latest server version you can add `--pull=always` to the options.
|
||||
|
||||
Alternatively there's a `docker-compose.yml` for [docker-compose](https://docs.docker.com/compose/) to simplify the command line options:
|
||||
```shell
|
||||
docker-compose run --rm server
|
||||
```
|
||||
|
||||
## Commands
|
||||
|
||||
Run `help` to get what commands are available in the server console.
|
||||
|
|
12
docker-compose.yml
Normal file
12
docker-compose.yml
Normal file
|
@ -0,0 +1,12 @@
|
|||
version: "3.9"
|
||||
|
||||
volumes:
|
||||
smoo-data:
|
||||
|
||||
services:
|
||||
server:
|
||||
image: ghcr.io/sanae6/smo-online-server
|
||||
ports:
|
||||
- 1027:1027
|
||||
volumes:
|
||||
- smoo-data:/data/
|
Loading…
Reference in a new issue