Forums WoW Modding Support Archives Azerothcore Discord Archives [DiscordArchive] i actually have no idea, I've always leaned towards kubernetes over docker swarm. How would you upda

[DiscordArchive] i actually have no idea, I've always leaned towards kubernetes over docker swarm. How would you upda

[DiscordArchive] i actually have no idea, I've always leaned towards kubernetes over docker swarm. How would you upda

rektbyfaith
Administrator
0
06-03-2024, 12:18 PM
#1
Archived author: mynameismeat • Posted: 2024-06-03T12:18:19.781000+00:00
Original source

i actually have no idea, I've always leaned towards kubernetes over docker swarm. How would you update it normally?
rektbyfaith
06-03-2024, 12:18 PM #1

Archived author: mynameismeat • Posted: 2024-06-03T12:18:19.781000+00:00
Original source

i actually have no idea, I've always leaned towards kubernetes over docker swarm. How would you update it normally?

rektbyfaith
Administrator
0
06-03-2024, 12:22 PM
#2
Archived author: Dakeiz • Posted: 2024-06-03T12:22:33.226000+00:00
Original source

I would change the image tag to the new version and run `docker stack deploy` with the same Compose file and stack name
rektbyfaith
06-03-2024, 12:22 PM #2

Archived author: Dakeiz • Posted: 2024-06-03T12:22:33.226000+00:00
Original source

I would change the image tag to the new version and run `docker stack deploy` with the same Compose file and stack name

rektbyfaith
Administrator
0
06-03-2024, 12:57 PM
#3
Archived author: mynameismeat • Posted: 2024-06-03T12:57:12.965000+00:00
Original source

I see. What you can do is set the `DOCKER_IMAGE_TAG` env var. it doesn't need to be something meaningful, just unique. Something like this should suffice

```sh
export DOCKER_IMAGE_TAG="$(date +%s)"
git pull
docker compose build
docker stack deploy
```
rektbyfaith
06-03-2024, 12:57 PM #3

Archived author: mynameismeat • Posted: 2024-06-03T12:57:12.965000+00:00
Original source

I see. What you can do is set the `DOCKER_IMAGE_TAG` env var. it doesn't need to be something meaningful, just unique. Something like this should suffice

```sh
export DOCKER_IMAGE_TAG="$(date +%s)"
git pull
docker compose build
docker stack deploy
```

rektbyfaith
Administrator
0
06-03-2024, 12:59 PM
#4
Archived author: Dakeiz • Posted: 2024-06-03T12:59:09.414000+00:00
Original source

Hmm but I don't think I should use `docker compose build`
rektbyfaith
06-03-2024, 12:59 PM #4

Archived author: Dakeiz • Posted: 2024-06-03T12:59:09.414000+00:00
Original source

Hmm but I don't think I should use `docker compose build`

Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)