Skip to content

Commit

Permalink
point seat 4 installation instructions to the seat 4 branch (#160)
Browse files Browse the repository at this point in the history
  • Loading branch information
recursivetree authored Dec 26, 2023
1 parent 4192ca9 commit 9e81133
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
10 changes: 5 additions & 5 deletions docs/installation/old_versions/docker_installation_seat_4.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ Depending on whether you already have `docker` and `docker-compose` already inst

### Automated Setup Script

If you do not have the required software installed yet, consider running the [bootstrap script](https://github.com/eveseat/seat-docker/blob/master/bootstrap.sh) that will check for `docker` and `docker-compose`, install it and start the SeAT stack up for you. The script can be run with:
If you do not have the required software installed yet, consider running the [bootstrap script](https://github.com/eveseat/seat-docker/blob/4.x/bootstrap.sh) that will check for `docker` and `docker-compose`, install it and start the SeAT stack up for you. The script can be run with:

```bash
bash <(curl -fsSL https://git.io/get-seat)
Expand Down Expand Up @@ -91,24 +91,24 @@ Then, download the `docker-compose.yml` file with:

=== "Linux"
```bash
curl -fsSL https://raw.githubusercontent.com/eveseat/seat-docker/master/docker-compose.yml -o docker-compose.yml
curl -fsSL https://raw.githubusercontent.com/eveseat/seat-docker/4.x/docker-compose.yml -o docker-compose.yml
```

=== "Windows"
```powershell
Invoke-WebRequest -Uri https://raw.githubusercontent.com/eveseat/seat-docker/master/docker-compose.yml -OutFile docker-compose.yml
Invoke-WebRequest -Uri https://raw.githubusercontent.com/eveseat/seat-docker/4.x/docker-compose.yml -OutFile docker-compose.yml
```

Next, download the docker `.env` file with:

=== "Linux"
```bash
curl -fsSL https://raw.githubusercontent.com/eveseat/seat-docker/master/.env -o .env
curl -fsSL https://raw.githubusercontent.com/eveseat/seat-docker/4.x/.env -o .env
```

=== "Windows"
```powershell
Invoke-WebRequest -Uri https://raw.githubusercontent.com/eveseat/seat-docker/master/.env -OutFile .env
Invoke-WebRequest -Uri https://raw.githubusercontent.com/eveseat/seat-docker/4.x/.env -OutFile .env
```

Next, we will generate a unique application key - this is used internally for encryption:
Expand Down
10 changes: 5 additions & 5 deletions docs/upgrading/from_seat_3_0/docker.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,8 +37,8 @@ We highly reccomend that you read the details of this upgrade guide to get famil
- Make a [backup] of your database.
- `cd` to your install dir (which is probably `/opt/seat-docker`) and bring the stack down with `docker-compose down`
- Make a copy of your `.env` and `docker-compose.yml` files.
- Download the new `docker-compose.yml` file with `curl -L https://raw.githubusercontent.com/eveseat/seat-docker/master/docker-compose.yml -o docker-compose.yml`.
- Down the new `.env` file with `curl -L https://raw.githubusercontent.com/eveseat/seat-docker/master/.env -o .env`.
- Download the new `docker-compose.yml` file with `curl -L https://raw.githubusercontent.com/eveseat/seat-docker/4.x/docker-compose.yml -o docker-compose.yml`.
- Down the new `.env` file with `curl -L https://raw.githubusercontent.com/eveseat/seat-docker/4.x/.env -o .env`.
- Upgrade your `docker-compose` installation. It should be version `1.26` and up.
- Configure the new `.env` file. Important configs include the `TRAEFIK_` variables, the `SEAT_SUBDOMAIN` variable. Copy over existing values from your old `.env` file for the `EVE_CLIENT_` variables, the `APP_KEY` varaible and finally the `DB_` variables.
- Bring the stack back up with `docker-compose up -d` and watch the migration process.
Expand Down Expand Up @@ -111,13 +111,13 @@ Removing network seat-docker_seat-network
#### Get the new docker-compose file

!!! warning
If you have made customisations to how you deployed SeAT with docker-compose, then you should probably **not** be replacing the compose file like we are about to do. Instead, have a look at the new one [here](https://github.com/eveseat/seat-docker/blob/master/docker-compose.yml) and adapt.
If you have made customisations to how you deployed SeAT with docker-compose, then you should probably **not** be replacing the compose file like we are about to do. Instead, have a look at the new one [here](https://github.com/eveseat/seat-docker/blob/4.x/docker-compose.yml) and adapt.

Next, we will download the new SeAT 4 docker-compose file. Do that with:

```bash linenums="1"
mv docker-compose.yml docker-compose.yml.back
curl -L https://raw.githubusercontent.com/eveseat/seat-docker/master/docker-compose.yml -o docker-compose.yml
curl -L https://raw.githubusercontent.com/eveseat/seat-docker/4.x/docker-compose.yml -o docker-compose.yml
```

With this we have created a copy of the older docker-compose file (just in case), and downloaded the new one.
Expand All @@ -130,7 +130,7 @@ Get it with:

```bash linenums="1"
mv .env .env.back
curl -L https://raw.githubusercontent.com/eveseat/seat-docker/master/.env -o .env
curl -L https://raw.githubusercontent.com/eveseat/seat-docker/4.x/.env -o .env
```

#### Configure the new .env file
Expand Down

0 comments on commit 9e81133

Please sign in to comment.