WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Configuration - commandline arguments #1

@sep3

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
    ?
],

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