Skip to content

Configuration - commandline arguments #1

Description

@sep3

Hello, I was unable to reproduce the project, It would be interesting to have a tutorial.
How are these arguments supposed to look? Thank you

# infra/ctfd/BUILD.bazel
env = {
        # FIXME: configure DATABASE_URL and SECRET_KEY here
        "SECRET_KEY": "AAAA",
        "DATABASE_URL": "mysql+pymysql://user:AAAA@localhost/ctfdb",
},

# infra/isodb/BUILD.bazel
args = [
    # FIXME: configure dbaddr here
    "mysql+pymysql://user:AAAA@localhost/ctfdb",
],

# infra/gaia/BUILD.bazel
args = [
    # FIXME: configure dbaddr here
    "mysql+pymysql://user:AAAA@localhost/ctfdb",
],

# infra/flaganizer/BUILD.bazel
args = [
    # FIXME: configure flag_key here
    "flag_key": AAAA,
],

# infra/ctfproxy/BUILD.bazel
args = [
    # FIXME: configure ssl_cert, ssl_key, mtls_ca here. See config.go for more optional configuration
    ssl_cert = /etc/letsencrypt/live/CTFProxy/cert.pem,
    ssl_key = /etc/letsencrypt/live/CTFProxy/privkey.pem,
    mtls_ca = /etc/letsencrypt/live/CTFProxy/fullchain.pem,
    
    # FIXME: configure cert_gcs_bucket gcp_service_account gcp_project here
    ?
],

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions