Skip to content

Commit

Permalink
revert changes
Browse files Browse the repository at this point in the history
  • Loading branch information
yamatt committed Oct 20, 2024
1 parent 38f8b92 commit ffde2fc
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
env:
FLY_API_TOKEN: ${{ secrets.FLY_API_TOKEN }}
deploy:
name: Build Factorio App
name: Build Minecraft App
runs-on: ubuntu-latest
needs:
- fly-config-validate
Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ When the server is not used, it switches off, reducing costs. Note that you stil
You will need a fly.io account, then install and setup the [fly.io CLI](https://fly.io/docs/flyctl/install/) then run:

```bash
flyctl launch --name <factorio server>
flyctl launch --name <minecraft server>
```

Where `<factorio server>` is the name of your minecraft server
Where `<minecraft server>` is the name of your minecraft server

## Licence

Expand Down
14 changes: 7 additions & 7 deletions fly.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
# See https://fly.io/docs/reference/configuration/ for information about how to use this file.
#

app = 'factorio-mc'
app = 'minecraft-mc'
primary_region = 'lhr'
kill_signal = 'SIGINT'
kill_timeout = '5s'

[build]
image = 'factoriotools/factorio:latest'
image = 'itzg/minecraft-server:latest'

[env]
AUTOSTOP_PKILL_USE_SUDO = 'TRUE'
Expand All @@ -21,16 +21,16 @@ kill_timeout = '5s'
PRIMARY_REGION = 'lhr'

[[mounts]]
source = 'factorio_data'
destination = '/factorio'
source = 'mc_server'
destination = '/data'
processes = ['app']

[[services]]
protocol = 'udo'
internal_port = 34197
protocol = 'tcp'
internal_port = 25565

[[services.ports]]
port = 34197
port = 25565

[services.concurrency]
type = 'connections'
Expand Down

0 comments on commit ffde2fc

Please sign in to comment.