Skip to content

Commit

Permalink
chore: update state to january 2024
Browse files Browse the repository at this point in the history
  • Loading branch information
aldy505 committed Jan 7, 2024
1 parent 784e2b2 commit c50d9b8
Show file tree
Hide file tree
Showing 6 changed files with 41 additions and 19 deletions.
1 change: 1 addition & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
* @teknologi-umum/infrastructure
36 changes: 24 additions & 12 deletions .github/workflows/ci.yml → .github/workflows/secret-scan.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,22 @@
name: CI
name: Secret Scan

on:
push:
pull_request:

jobs:
secret_scan:
name: Secret Scan
megalinter:
name: MegaLinter
runs-on: ubuntu-latest
steps:
- name: Setup jq
uses: dcarbone/[email protected]

- name: Checkout code
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: TruffleHog OSS
uses: trufflesecurity/trufflehog@main
with:
path: ./
base: ${{ github.event.repository.default_branch }}
head: HEAD
extra_args: --debug --only-verified

- name: MegaLinter
id: ml
uses: oxsecurity/megalinter/flavors/documentation@v7
Expand All @@ -31,3 +26,20 @@ jobs:
VALIDATE_ALL_CODEBASE: ${{ github.event_name == 'push' && github.ref == 'refs/heads/master' }}
ENABLE: EDITORCONFIG
FILTER_REGEX_EXCLUDE: (LICENSE|CODE_OF_CONDUCT\.md|.idea)

trufflehog:
name: Trufflehog
runs-on: ubuntu-latest
steps:
- name: Setup jq
uses: dcarbone/[email protected]

- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: TruffleHog OSS
uses: trufflesecurity/trufflehog@main
with:
extra_args: --debug --only-verified
11 changes: 10 additions & 1 deletion captcha/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,20 @@ services:
BOT_TOKEN:
SENTRY_DSN:
DATABASE_URL:
POSTGRES_URL:
MONGO_URL:
TZ: UTC
TEKNUM_ID:
HOME_GROUP_ID:
ADMIN_ID:
PORT: 8080
ADMIN_IDS:
FEATURE_FLAG_DUKUN: true
FEATURE_FLAG_BADWORDS_INSERTION: true
FEATURE_FLAG_UNDER_ATTACK: true
FEATURE_FLAG_ANALYTICS: true
FEATURE_FLAG_REMINDER: true
HTTP_PORT: 8080
UNDER_ATTACK__DATASTORE_PROVIDER: postgres
labels:
- "traefik.enable=true"
- "traefik.docker.network=captcha"
Expand Down
2 changes: 1 addition & 1 deletion libreddit/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ services:
- "traefik.http.services.libreddit.loadbalancer.server.port=8080"
- "traefik.http.services.libreddit.loadbalancer.server.scheme=http"
- "traefik.http.services.libreddit.loadbalancer.healthcheck.interval=120s"
- "traefik.http.services.libreddit.loadbalancer.healthcheck.path=/"
- "traefik.http.services.libreddit.loadbalancer.healthcheck.path=/settings"
- "traefik.http.middlewares.libreddit-rate.ratelimit.average=100"
- "traefik.http.middlewares.libreddit-rate.ratelimit.burst=20"
- "traefik.http.middlewares.libreddit-rate.ratelimit.period=1s"
Expand Down
1 change: 1 addition & 0 deletions pesto/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -179,6 +179,7 @@ services:
- "traefik.http.services.rce.loadbalancer.healthcheck.path=/healthz"
- "traefik.http.middlewares.rce-auth.forwardauth.address=http://auth:3000/"
- "traefik.http.middlewares.rce-auth.forwardauth.authRequestHeaders=Accept,X-Pesto-Token,Referer,Origin"
- "traefik.http.middlewares.rce-auth.forwardauth.authResponseHeaders=Sentry-Trace,Baggage"
- "traefik.http.middlewares.rce-auth.forwardauth.tls.insecureSkipVerify=true"
- "traefik.http.middlewares.rce-error.errors.status=500-599"
- "traefik.http.middlewares.rce-error.errors.service=landing@docker"
Expand Down
9 changes: 4 additions & 5 deletions traefik/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
traefik:
image: traefik:v2.10.3
image: traefik:v2.10.5
command:
- "--api.insecure=true"
- "--providers.docker=true"
Expand Down Expand Up @@ -77,11 +77,8 @@ services:
- tgif
- zod_playground
- projects
- ohmyform_external
- calcom_external
- nitter
- focalboard_external
- conference
- gold

networks:
pesto:
Expand Down Expand Up @@ -121,3 +118,5 @@ networks:
external: true
conference:
external: true
gold:
external: true

0 comments on commit c50d9b8

Please sign in to comment.