Deploy Server
The server can deploy by multiple method: Directly, Docker, Docker-Compose, Kubernetes, Helm.
Directly
-
Download the server application from RELEASE and unzip.
-
Startup
On Linux/Mac
$ sh ./bin/seata-server.sh
On Windows
bin\seata-server.bat
Arguments
| Argument | Fullname | Effect | Comment |
|---|---|---|---|
| -h | --host | Specify IP in registry center | Suggest to specify Virtural machine or cloud server, or will use internal IP |
| -p | --port | Specify startup port | default is 8091 |
| -m | --storeMode | The way to save transaction log | Support file and dbdefault is file |
| -n | --serverNode | Specify the seata-server node ID | Like 1,2,3..., default is 1 |
| -e | --seataEnv | Specify the environment of seata-server | Like dev, test etc. Then will use file like registry-dev.conf as configuraiton |
For example:
$ sh ./bin/seata-server.sh -p 8091 -h 127.0.0.1 -m file
Deploy in container
Now support these method: