1.0.0-rc2
{README.md, SnowflakeService.java}: changed port number to stay in bounds
This commit is contained in:
@@ -22,7 +22,7 @@ This utility uses:
|
|||||||
|
|
||||||
```bash
|
```bash
|
||||||
docker pull bootmediaalix/snowflakeservice
|
docker pull bootmediaalix/snowflakeservice
|
||||||
docker run bootmediaalix/snowflakeservice -e %{set required .env, see below} -p 95674:95674 -v /data/b00tload-services/snowflake:%desired path on host%
|
docker run bootmediaalix/snowflakeservice -e %{set required .env, see below} -p 9567:9567 -v /data/b00tload-services/snowflake:%desired path on host%
|
||||||
```
|
```
|
||||||
### Containerless
|
### Containerless
|
||||||
A containerless installation is possible, although not supported. For development convenience the application base directory is located in `~/.b00tload-services/snowflake` instead of `/data/b00tload-services/snowflake`.
|
A containerless installation is possible, although not supported. For development convenience the application base directory is located in `~/.b00tload-services/snowflake` instead of `/data/b00tload-services/snowflake`.
|
||||||
|
|||||||
@@ -77,7 +77,7 @@ public class SnowflakeService {
|
|||||||
ret.addProperty("id", SnowflakeIDGenerator.getInstance().generateID());
|
ret.addProperty("id", SnowflakeIDGenerator.getInstance().generateID());
|
||||||
ctx.status(200).result(ret.toString()).contentType(ContentType.APPLICATION_JSON);
|
ctx.status(200).result(ret.toString()).contentType(ContentType.APPLICATION_JSON);
|
||||||
}));
|
}));
|
||||||
endpointServer.start(95674);
|
endpointServer.start(9567);
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user