Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
Zuruuh committed Aug 2, 2023
2 parents 429afac + f33360d commit 131c695
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 1 deletion.
3 changes: 3 additions & 0 deletions apps/server/argent-bank.caddy
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
argent-bank-api.zuruh.sbs {
reverse_proxy localhost:9020
}
31 changes: 31 additions & 0 deletions apps/server/compose.prod.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
version: "3"

services:
api:
image: zuruh/argent-bank-api:latest
restart: unless-stopped
build:
context: .
dockerfile: ./docker/server.dockerfile
depends_on:
- database
environment:
SERVER_PORT: 3000
DATABASE_HOST: database
DATABASE_URL: "mongodb://database:/argentbank"
ports:
- "9020:3000"

database:
image: mongo:5.0
restart: unless-stopped
healthcheck:
test: mongo --eval 'db.runCommand("ping").ok' localhost:27017/test --quiet
interval: 1s
retries: 15
start_period: 5s
timeout: 10s
environment:
MONGO_INITDB_DATABASE: argentbank
expose:
- "27017"
2 changes: 1 addition & 1 deletion apps/web/src/pages/ProfilePage/ProfilePage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,7 @@ const ProfilePage: FC = () => {
</div>
<div className={styles.buttonsWrapper}>
<Button
label="Sign in"
label="Save"
loading={res.isLoading}
size={BUTTON_SIZES.SMALL}
/>
Expand Down

0 comments on commit 131c695

Please sign in to comment.