forked from unmojang/drasl
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c6a14ef
commit b642238
Showing
12 changed files
with
91 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
*.db | ||
.direnv | ||
.envrc | ||
config.toml | ||
drasl | ||
node_modules | ||
public/bundle.js | ||
/.direnv | ||
/.envrc | ||
/config.toml | ||
/drasl | ||
/node_modules | ||
/public/bundle.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
# Should be the same as `Domain` in Drasl's config.toml | ||
drasl.example.com | ||
|
||
# Email address to use for obtaining TLS certificates | ||
tls mail@example.com | ||
|
||
reverse_proxy :25585 |
Empty file.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Drasl default config file | ||
|
||
# Example: drasl.example.com | ||
Domain = "" | ||
|
||
# Example: https://drasl.example.com | ||
BaseURL = "" | ||
|
||
# List of usernames who automatically become admins of the Drasl instance | ||
DefaultAdmins = [""] | ||
|
||
[RegistrationNewPlayer] | ||
Allow = true | ||
AllowChoosingUUID = true | ||
RequireInvite = true |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
version: '3' | ||
|
||
services: | ||
caddy: | ||
image: caddy | ||
ports: | ||
- "80:80" | ||
- "443:443" | ||
volumes: | ||
- ./Caddyfile:/etc/caddy/Caddyfile | ||
- ./caddy/data:/data | ||
- ./caddy/config:/config | ||
drasl: | ||
image: unmojang/drasl | ||
ports: | ||
- "127.0.0.1:25585:25585" | ||
volumes: | ||
- ./config:/etc/drasl | ||
- ./data:/var/lib/drasl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
# Drasl default config file | ||
|
||
# Example: drasl.example.com | ||
Domain = "" | ||
|
||
# Example: https://drasl.example.com | ||
BaseURL = "" | ||
|
||
# List of usernames who automatically become admins of the Drasl instance | ||
DefaultAdmins = [""] | ||
|
||
[RegistrationNewPlayer] | ||
Allow = true | ||
AllowChoosingUUID = true | ||
RequireInvite = true |
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
version: '3' | ||
|
||
services: | ||
drasl: | ||
image: unmojang/drasl | ||
ports: | ||
- "127.0.0.1:25585:25585" | ||
volumes: | ||
- ./config:/etc/drasl | ||
- ./data:/var/lib/drasl |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
[Unit] | ||
Description=Drasl | ||
After=network-online.target | ||
|
||
[Service] | ||
DynamicUser=true | ||
ExecStart=/usr/bin/drasl | ||
StateDirectory=drasl | ||
Restart=always | ||
|
||
[Install] | ||
WantedBy=multi-user.target |