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

Location lost after recreating container #113

Open
iNenadnano opened this issue Dec 24, 2024 · 0 comments
Open

Location lost after recreating container #113

iNenadnano opened this issue Dec 24, 2024 · 0 comments

Comments

@iNenadnano
Copy link

Hello,

First of all, let me thank you for this docker image.

I am running it using docker compose which looks as follows:

services:
  unms:
    image: nico640/docker-unms:latest
    restart: always
    ports:
      - 80:80
      - 443:443
      - 2055:2055/udp
    environment:
      - TZ=Europe/Belgrade
      - SSL_CERT=unms.crt
      - SSL_CERT_KEY=unms.key
    volumes:
      - ./config:/config

The issue I have encountered is that device location gets lost when container is recreated. For example, I was initially running the container without the custom certificates During that time, I have set location for several devices using the UISP API (PUT method on /devices/{deviceId}/location endpoint}. However, after recreating the container with environment variables for custom certificate added, the location was lost. Is this the expected behaviour or am I doing something wrong?

Thank you.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant