Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docker-compose.yml: version is obsolete #8256

Closed
1 of 3 tasks
Batwam opened this issue Mar 25, 2024 · 0 comments · Fixed by #8276
Closed
1 of 3 tasks

docker-compose.yml: version is obsolete #8256

Batwam opened this issue Mar 25, 2024 · 0 comments · Fixed by #8276
Labels
deployment Deployment related tasks good first issue Good for newcomers

Comments

@Batwam
Copy link

Batwam commented Mar 25, 2024

The bug

I don't believe that this has been reported yet. I'm getting this warning lately:

/home/user/.local/share/applications/immich-app/docker-compose.yml: version is obsolete

I'm using the standard template from https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml which has version: '3.8' defined at the top.

Based on this discussion, it looks like this line is now obsolete. I'm using Docker Compose version v2.25.0 and Docker Engine 26.0.0.

The OS that Immich Server is running on

Ubuntu 23.10

Version of Immich Server

v1.99.0

Version of Immich Mobile App

v1.99.0

Platform with the issue

  • Server
  • Web
  • Mobile

Your docker-compose.yml content

as per https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml

version: '3.8'

#
# WARNING: Make sure to use the docker-compose.yml of the current release:
#
# https://github.com/immich-app/immich/releases/latest/download/docker-compose.yml
#
# The compose file on main may not be compatible with the latest release.
#

name: immich

services:
  immich-server:
    container_name: immich_server
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
    command: ['start.sh', 'immich']
    volumes:
      - ${UPLOAD_LOCATION}:/usr/src/app/upload
      - /home/anthony/Pictures:/mnt/media/Pictures:ro
      - /etc/localtime:/etc/localtime:ro
    env_file:
      - .env
    ports:
      - 2283:3001
    depends_on:
      - redis
      - database
    restart: always

  immich-microservices:
    container_name: immich_microservices
    image: ghcr.io/immich-app/immich-server:${IMMICH_VERSION:-release}
...

Your .env content

N/A

Reproduction steps

start docker container using `sudo docker compose up`

Additional information

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
deployment Deployment related tasks good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants