Skip to content

Commit

Permalink
refactor: reorder config files
Browse files Browse the repository at this point in the history
  • Loading branch information
cake-lier committed Nov 14, 2023
1 parent 69dc72f commit 8be961a
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ ENV LANG C.UTF-8
# Copy the jar
RUN mkdir /opt/app
COPY build/libs/yggdrasil-${YGGDRASIL_VERSION}-SNAPSHOT-all.jar /opt/app
COPY conf/config.json /opt/app
COPY conf/docker_disk_config.json /opt/app

# The default http port
EXPOSE 8080
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ The default Gradle task `shadowJar` generates a fat-jar in the `build/libs` dire
To start an Yggdrasil node:

```shell
java -jar build/libs/yggdrasil-0.0.0-SNAPSHOT-all.jar -conf conf/config.json
java -jar build/libs/yggdrasil-0.0.0-SNAPSHOT-all.jar -conf conf/localhost_memory_config.json
```

The configuration file is optional. Open your browser to
Expand Down
8 changes: 0 additions & 8 deletions conf/config2.json

This file was deleted.

File renamed without changes.
2 changes: 1 addition & 1 deletion conf/config1.json → conf/localhost_memory_config.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"http-config" : {
"host" : "0.0.0.0",
"host" : "localhost",
"port" : 8080,
"base-uri" : "http://localhost:8080/",
"websub-hub-uri" : "http://localhost:8080/hub/"
Expand Down

0 comments on commit 8be961a

Please sign in to comment.