Skip to content

Commit

Permalink
removing tensorboard api route and custom env variables
Browse files Browse the repository at this point in the history
  • Loading branch information
brnovasco committed Jun 13, 2024
1 parent 62f3248 commit f2b739f
Show file tree
Hide file tree
Showing 7 changed files with 1 addition and 70 deletions.
6 changes: 1 addition & 5 deletions apps/deepsirius-ui/.env.example
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,4 @@ STORAGE_API_KEY=""

# deepsirius cli
PROCESSING_CONTAINER_STORAGE_BIND=""
PROCESSING_CONTAINER_PATH=""

# tensorboard api
TENSORBOARD_API_URL="https://tensorboard.example.com"
TENSORBOARD_API_KEY="key"
PROCESSING_CONTAINER_PATH=""
2 changes: 0 additions & 2 deletions apps/deepsirius-ui/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,6 @@ ARG PROCESSING_CONTAINER_STORAGE_BIND
ARG PROCESSING_CONTAINER_PATH
ARG STORAGE_API_URL
ARG STORAGE_API_KEY
ARG TENSORBOARD_API_URL
ARG TENSORBOARD_API_KEY

COPY --from=deps /app/out/full .
COPY turbo.json .
Expand Down
4 changes: 0 additions & 4 deletions apps/deepsirius-ui/src/env.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,6 @@ const server = z.object({
PROCESSING_CONTAINER_PATH: z.string(),
STORAGE_API_URL: z.string().url(),
STORAGE_API_KEY: z.string(),
TENSORBOARD_API_URL: z.string().url(),
TENSORBOARD_API_KEY: z.string(),
});

/**
Expand Down Expand Up @@ -61,8 +59,6 @@ const processEnv = {
PROCESSING_CONTAINER_PATH: process.env.PROCESSING_CONTAINER_PATH,
STORAGE_API_URL: process.env.STORAGE_API_URL,
STORAGE_API_KEY: process.env.STORAGE_API_KEY,
TENSORBOARD_API_URL: process.env.TENSORBOARD_API_URL,
TENSORBOARD_API_KEY: process.env.TENSORBOARD_API_KEY,
};

// Don't touch the part below
Expand Down
2 changes: 0 additions & 2 deletions apps/deepsirius-ui/src/server/api/root.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import { jobRouter } from './routers/job';
import { deepsiriusJobRouter } from './routers/deepsirius-job';
import { sshRouter } from './routers/ssh';
import { dbRouter } from './routers/db';
import { tbConsumerRouter } from './routers/tb_consumer';

/**
* This is the primary router for your server.
Expand All @@ -15,7 +14,6 @@ export const appRouter = createTRPCRouter({
db: dbRouter,
job: jobRouter,
deepsiriusJob: deepsiriusJobRouter,
tbConsumer: tbConsumerRouter,
});

// export type definition of API
Expand Down
52 changes: 0 additions & 52 deletions apps/deepsirius-ui/src/server/api/routers/tb_consumer.ts

This file was deleted.

2 changes: 0 additions & 2 deletions compose.registry.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,6 @@ services:
- PROCESSING_CONTAINER_STORAGE_BIND=${PROCESSING_CONTAINER_STORAGE_BIND}
- STORAGE_API_URL=${STORAGE_API_URL}
- STORAGE_API_KEY=${STORAGE_API_KEY}
- TENSORBOARD_API_URL=${TENSORBOARD_API_URL}
- TENSORBOARD_API_KEY=${TENSORBOARD_API_KEY}
networks:
- deepsirius-ui-network
db:
Expand Down
3 changes: 0 additions & 3 deletions compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,6 @@ services:
- PRIVATE_KEY_PASSPHRASE=${PRIVATE_KEY_PASSPHRASE}
- PROCESSING_CONTAINER_PATH=${PROCESSING_CONTAINER_PATH}
- PROCESSING_CONTAINER_STORAGE_BIND=${PROCESSING_CONTAINER_STORAGE_BIND}
- TENSORBOARD_API_URL=${TENSORBOARD_API_URL}
- TENSORBOARD_API_KEY=${TENSORBOARD_API_KEY}
networks:
- deepsirius-ui-network
db:
Expand Down Expand Up @@ -62,7 +60,6 @@ services:
volumes:
pgdata:


networks:
deepsirius-ui-network:
name: deepsirius-ui-network

0 comments on commit f2b739f

Please sign in to comment.