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

Typo at Volume Path on Docker-Compose.yml #8864

Closed
mostdcoa opened this issue Mar 11, 2024 · 1 comment
Closed

Typo at Volume Path on Docker-Compose.yml #8864

mostdcoa opened this issue Mar 11, 2024 · 1 comment
Labels
bug Something isn't working

Comments

@mostdcoa
Copy link

mostdcoa commented Mar 11, 2024

The Postgresql and redis volumes are missing a "." prior to the local directory location.

This caused me quite the headache until I noticed it.

Steps to reproduce the behavior:

  1. Download the latest docker compose file from using wget https://goauthentik.io/docker-compose.yml
  2. Observe:
postgresql:
    image: docker.io/library/postgres:12-alpine
    restart: unless-stopped
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -d $${POSTGRES_DB} -U $${POSTGRES_USER}"]
      start_period: 20s
      interval: 30s
      retries: 5
      timeout: 5s
    volumes:
>      - database:/var/lib/postgresql/data

  redis:
    image: docker.io/library/redis:alpine
    command: --save 60 1 --loglevel warning
    restart: unless-stopped
    healthcheck:
      test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
      start_period: 20s
      interval: 30s
      retries: 5
      timeout: 3s
    volumes:
 >     - redis:/data
  1. See the > at the volume paths at the end of each service.

Expected behavior

  • ./database:/var/lib/postgresql/data
  • ./redis:/data

All the other local paths are fine for server and worker

Screenshots
image

Version and Deployment (please complete the following information):

  • authentik version: [e.g. 2024.2.2
  • Deployment: docker compose
@mostdcoa mostdcoa added the bug Something isn't working label Mar 11, 2024
@rissson
Copy link
Member

rissson commented Mar 11, 2024

Those are actually correct and reference the volumes defined below in the volumes key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants