Skip to content

Commit 8e20017

Browse files
committed
first dev commit
1 parent 763afde commit 8e20017

File tree

7 files changed

+41
-5
lines changed

7 files changed

+41
-5
lines changed

.env

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,14 @@ DOMAIN=localhost
55
# Environment: local, staging, production
66
ENVIRONMENT=local
77

8-
PROJECT_NAME="Full Stack FastAPI Project"
9-
STACK_NAME=full-stack-fastapi-project
8+
PROJECT_NAME="Web tvl"
9+
STACK_NAME=web-tvl
1010

1111
# Backend
1212
BACKEND_CORS_ORIGINS="http://localhost,http://localhost:5173,https://localhost,https://localhost:5173,http://localhost.tiangolo.com"
13-
SECRET_KEY=changethis
13+
SECRET_KEY=wkX5D4bzWdmUbC2koZfny_EFTEEtbP_5qvdg9xuE354
1414
FIRST_SUPERUSER=[email protected]
15-
FIRST_SUPERUSER_PASSWORD=changethis
15+
FIRST_SUPERUSER_PASSWORD=Womy_000
1616
USERS_OPEN_REGISTRATION=False
1717

1818
# Emails
@@ -29,7 +29,7 @@ POSTGRES_SERVER=localhost
2929
POSTGRES_PORT=5432
3030
POSTGRES_DB=app
3131
POSTGRES_USER=postgres
32-
POSTGRES_PASSWORD=changethis
32+
POSTGRES_PASSWORD=-7vcO6peCJz0y0AcYUl8eM9m-LhC4NPsG9WLNe75hrs
3333

3434
SENTRY_DSN=
3535

docker-compose.override.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,11 @@ services:
5050
ports:
5151
- "8080:8080"
5252

53+
metabase:
54+
restart: "no"
55+
ports:
56+
- "3000:3000"
57+
5358
backend:
5459
restart: "no"
5560
ports:

docker-compose.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,24 @@ services:
1212
- POSTGRES_USER=${POSTGRES_USER?Variable not set}
1313
- POSTGRES_DB=${POSTGRES_DB?Variable not set}
1414

15+
metabase:
16+
image: metabase/metabase
17+
restart: always
18+
networks:
19+
- traefik-public
20+
- default
21+
depends_on:
22+
- db
23+
ports:
24+
- '3000:3000'
25+
volumes:
26+
- ./infrastructure/metabase:/metabase-data
27+
environment:
28+
- MB_DB_FILE=/metabase-data/metabase.db
29+
# - MB_H2_DB_JDBC_URL=jdbc:h2:file:/metabase-data/metabase.db/metabase.db
30+
deploy:
31+
replicas: 1
32+
1533
adminer:
1634
image: adminer
1735
restart: always
@@ -125,6 +143,7 @@ services:
125143
volumes:
126144
app-db-data:
127145

146+
128147
networks:
129148
traefik-public:
130149
# Allow setting it to false for testing

frontend/src/routes/__root.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@ const loadDevtools = () =>
2020

2121
const TanStackDevtools =
2222
process.env.NODE_ENV === "production" ? () => null : React.lazy(loadDevtools)
23+
// true ? () => null : React.lazy(loadDevtools)
2324

2425
export const Route = createRootRoute({
2526
component: () => (
1.3 MB
Binary file not shown.
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
2024-07-23 00:15:24 jdbc[6]: exception
2+
org.h2.jdbc.JdbcSQLSyntaxErrorException: Table "DATABASECHANGELOGLOCK" not found; SQL statement:
3+
SELECT COUNT(*) FROM "PUBLIC"."DATABASECHANGELOGLOCK" [42102-214]

web-tvl.code-workspace

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
{
2+
"folders": [
3+
{
4+
"path": "."
5+
}
6+
],
7+
"settings": {}
8+
}

0 commit comments

Comments
 (0)