0
0
Fork 0
mirror of https://github.com/Sanae6/SmoOnlineServer.git synced 2024-11-18 17:25:14 +00:00

add docker-compose.yml

This commit is contained in:
Robin C. Ladiges 2022-06-28 09:20:52 +02:00
parent ea1baee470
commit cafae6b562
No known key found for this signature in database
GPG key ID: B494D3DF92661B99
2 changed files with 17 additions and 0 deletions

View file

@ -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. 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 ## Commands
Run `help` to get what commands are available in the server console. Run `help` to get what commands are available in the server console.

12
docker-compose.yml Normal file
View 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/