v3.3.0
3.3.0 (2024-03-24)
Features
Upgrade notes
Note
This was a feature release because the steps below are optional.
After upgrading, you should adjust your existing docker-compose.yml file as follows:
- Rename the file to
docker-compose.yaml
- Make the following 2 modifications to use a YAML anchor to keep the web and worker Docker volumes in sync (for an example of the diff, see here)
web
container, find thevolumes:
line. Append&common_volumes
to this line, so it becomesvolumes: &common_volumes
.worker
container, remove the existingvolumes:
block including its children. Then, add the line back asvolumes: *common_volumes
(this references thecommon_volumes
anchor defined in theweb
container's YAML).
After these changes, the web
/worker
container service definitions should look like this:
services:
web:
[... omitted for brevity ...]
volumes: &common_volumes
- ./server/settings:/home/node/app/server/settings
- ./server/env:/home/node/app/server/env
- ./server/videos:/home/node/app/server/videos
worker:
image: ghcr.io/gafirst/match-uploader:latest
command: yarn start:worker
volumes: *common_volumes
env_file:
- ./server/env/production.env
[... omitted for brevity ...]
You can also view docker-compose.yaml on this tag for a full, functional example.