modules: services: woodpecker: fix interpolation

This commit is contained in:
Bruno BELANYI 2023-11-06 20:54:40 +00:00
parent 7f857ab661
commit 830e7bb865

View file

@ -12,7 +12,7 @@ in
WOODPECKER_HOST = "https://woodpecker.${config.networking.domain}"; WOODPECKER_HOST = "https://woodpecker.${config.networking.domain}";
WOODPECKER_DATABASE_DRIVER = "postgres"; WOODPECKER_DATABASE_DRIVER = "postgres";
WOODPECKER_DATABASE_DATASOURCE = "postgres:///woodpecker?host=/run/postgresql"; WOODPECKER_DATABASE_DATASOURCE = "postgres:///woodpecker?host=/run/postgresql";
WOODPECKER_ADMIN = "${cfg.admin}"; WOODPECKER_ADMIN = cfg.admin;
WOODPECKER_SERVER_ADDR = ":${toString cfg.port}"; WOODPECKER_SERVER_ADDR = ":${toString cfg.port}";
WOODPECKER_GRPC_ADDR = ":${toString cfg.rpcPort}"; WOODPECKER_GRPC_ADDR = ":${toString cfg.rpcPort}";