Skip to content

deployment.targetPort not used when deploying to GCE #752

Open
@P-E-Meunier

Description

@P-E-Meunier

I want the machines I deploy to have OpenSSH listen on port 24, because I need to run another SSH server on port 22.

Unfortunately, this is currently impossible with NixOps on GCE: I have to use targetPort = 22, services.openssh.ports = [22 24];, and then change it to targetPort = 24 and services.openssh.ports = [24]; when the machine is up.

This is anoying, each deployment takes time, and this would become quite inconvenient if I had to deploy many machines at once.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions