Skip to content

Commit

Permalink
Update manifest for immich (#80)
Browse files Browse the repository at this point in the history
  • Loading branch information
rounakdatta authored Jun 21, 2024
1 parent 9f53420 commit 5740b4a
Showing 1 changed file with 0 additions and 38 deletions.
38 changes: 0 additions & 38 deletions roles/launch-nomad-jobs/templates/immich.nomad.j2
Original file line number Diff line number Diff line change
Expand Up @@ -68,48 +68,10 @@ job "immich_job" {

config {
image = "ghcr.io/immich-app/immich-server:release"
command = "start-server.sh"
ports = ["immich_server_port"]
}
}

task "immich_microservices" {
driver = "docker"

resources {
memory = 1024
}

env = {
NODE_ENV = "production"
DB_HOSTNAME = "{{ Hostname }}"
DB_PORT = "5433"
DB_USERNAME = "{{ ImmichUsername }}"
DB_PASSWORD = "{{ ImmichPassword }}"
DB_DATABASE_NAME = "{{ ImmichDatabase }}"
REDIS_HOSTNAME = "{{ RedisHostname }}"
JWT_SECRET = "{{ ImmichJwtSecret }}"
ENABLE_MAPBOX = "false"
IMMICH_WEB_URL = "{{ Hostname }}:2282"
IMMICH_SERVER_URL = "{{ Hostname }}:2283"
IMMICH_MACHINE_LEARNING_URL = "{{ Hostname }}:2285"
TYPESENSE_API_KEY = "{{ TypesenseAPIKey }}"
TYPESENSE_HOST = "{{ Hostname }}"
TYPESENSE_PORT = "2286"
}

volume_mount {
volume = "immich_originals_volume"
destination = "/usr/src/app/upload"
read_only = false
}

config {
image = "ghcr.io/immich-app/immich-server:release"
command = "start-microservices.sh"
}
}

task "immich_machine_learning" {
driver = "docker"

Expand Down

0 comments on commit 5740b4a

Please sign in to comment.