Upgrade flake

This commit is contained in:
marc committed 2026-11-09 11:24:43 +01:00
1 parent 517d5df1b6
commit 1d30dc5149
11 files changed
+138 -117

No files matched your search

+59
View File
@@ -0,0 +1,59 @@
job "receptari" {
region = "global"
datacenters = ["samfelag"]
type = "service"
group "receptari" {
count = 1
restart {
attempts = 5
delay = "15s"
}
network {
port "http" {
to = 80
}
}
# Volumes
volume "receptari" {
type = "host"
read_only = false
source = "receptari"
}
# RECEPTARI WEB
task "receptari" {
driver = "docker"
env {
DB_DIR = "/data/receptari"
}
config {
image = "marc.sastre.cat/receptari:latest"
ports = ["http"]
}
volume_mount {
volume = "receptari"
destination = "/data/receptari"
read_only = false
}
resources {
cpu = 100
memory = 512
}
service {
name = "receptari"
port = "http"
}
}
}
}