change podman building
This commit is contained in:
@@ -14,9 +14,8 @@ in {
|
||||
|
||||
containers = {
|
||||
|
||||
auth_server = {
|
||||
server = {
|
||||
image = "ghcr.io/goauthentik/server:latest";
|
||||
hostname = "auth_server";
|
||||
volumes = [
|
||||
"${serverCfg.dataPath}/authentik/media:/media"
|
||||
"${serverCfg.dataPath}/authentik/templates:/templates"
|
||||
@@ -47,8 +46,6 @@ in {
|
||||
cmd = [ "server" ];
|
||||
extraOptions = [
|
||||
"--add-host=host.containers.internal:host-gateway"
|
||||
"--replace"
|
||||
"--rm"
|
||||
"--ip=${containerCfg.ip}"
|
||||
];
|
||||
ports = [
|
||||
@@ -56,9 +53,8 @@ in {
|
||||
];
|
||||
};
|
||||
|
||||
auth_worker = {
|
||||
worker = {
|
||||
image = "ghcr.io/goauthentik/server:latest";
|
||||
hostname = "auth_worker";
|
||||
volumes = [
|
||||
"${serverCfg.dataPath}/authentik/media:/media"
|
||||
"${serverCfg.dataPath}/authentik/templates:/templates"
|
||||
@@ -75,8 +71,6 @@ in {
|
||||
};
|
||||
extraOptions = [
|
||||
"--add-host=host.containers.internal:host-gateway"
|
||||
"--replace"
|
||||
"--rm"
|
||||
];
|
||||
cmd = [ "worker" ];
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user