Skip to content

Commit

Permalink
feat: increase replicas
Browse files Browse the repository at this point in the history
Largely just a test of the new pipeline, but this will hopefully cause
another replica to be spawned on the server.

This change:
* Adds another backend replica
  • Loading branch information
alexander-jackson committed Sep 16, 2023
1 parent 8f678a1 commit 73c745a
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/deploy-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,12 @@ on:
push:
branches: ["master"]
paths:
- "configuration/**"
- "f2/**"

jobs:
deploy-config:
name: Deploy configuration to S3
runs-on: ubuntu-latest
defaults:
run:
working-directory: ./configuration
steps:
- name: Checkout Repository
uses: actions/checkout@v3
Expand All @@ -22,7 +19,7 @@ jobs:
with:
aws_access_key_id: ${{ secrets.CONFIG_DEPLOYER_AWS_ACCESS_KEY_ID }}
aws_secret_access_key: ${{ secrets.CONFIG_DEPLOYER_AWS_SECRET_ACCESS_KEY }}
source: ./config.yaml
source: ./f2/config.yaml
dest: s3://configuration-sfvz2s/f2/config.yaml
aws_region: eu-west-1

Expand Down
7 changes: 7 additions & 0 deletions f2/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,13 @@ services:
replicas: 1
host: opentracker.app

frontend2:
image: alexanderjackson/opentracker-frontend
tag: 20230614-1829
port: 80
replicas: 1
host: opentracker.app

backend:
image: alexanderjackson/opentracker-backend
tag: 20230830-1730
Expand Down

0 comments on commit 73c745a

Please sign in to comment.