Skip to content

Commit

Permalink
add "updating" section and use docker run instead of create
Browse files Browse the repository at this point in the history
  • Loading branch information
Boy132 authored Feb 19, 2024
1 parent 1c0b7c4 commit ba8043e
Showing 1 changed file with 29 additions and 2 deletions.
31 changes: 29 additions & 2 deletions tutorials/dockerized-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ curl -L -o docker-compose.yml https://raw.githubusercontent.com/pterodactyl/pane
docker-compose up -d

# Docker container without compose:
docker create -it --name panel ghcr.io/pterodactyl/panel
docker run -d -it --name panel ghcr.io/pterodactyl/panel
```

After the startup is complete you'll need to create a panel user.
Expand Down Expand Up @@ -134,7 +134,7 @@ curl -L -o docker-compose.yml https://raw.githubusercontent.com/pterodactyl/wing
docker-compose up -d

# Docker container without compose:
docker create -it --name wings ghcr.io/pterodactyl/wings
docker run -d -it --name wings ghcr.io/pterodactyl/wings
```

After the startup is complete you can follow the [normal wings setup guide](/wings/1.0/installing.md#configure) to create a new node.
Expand All @@ -148,3 +148,30 @@ There are some environment variables to configure wings, see the following table
| `WINGS_UID` | The UID of the wings user | yes |
| `WINGS_GID` | The GID of the wings user | yes |
| `WINGS_USERNAME` | The username of the wings user | yes |

## Updating
Note: Updating will not affect running gameservers.

### Panel
```bash
# With docker compose:
docker-compose pull
docker-compose down
docker-compose up -d

# Docker container without compose:
docker pull ghcr.io/pterodactyl/panel
docker restart panel
```

### Wings
```bash
# With docker compose:
docker-compose pull
docker-compose down
docker-compose up -d

# Docker container without compose:
docker pull ghcr.io/pterodactyl/wings
docker restart wings
```

0 comments on commit ba8043e

Please sign in to comment.