Skip to content

Commit

Permalink
Containerized models directory
Browse files Browse the repository at this point in the history
  • Loading branch information
vliu36 committed Mar 2, 2024
1 parent b87c00c commit cf0d5aa
Show file tree
Hide file tree
Showing 7 changed files with 31,582 additions and 30,933 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@

# misc
.DS_Store
.env
.env.local
.env.development.local
.env.test.local
Expand Down
25 changes: 15 additions & 10 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,28 +2,33 @@
version: "3.8"

services:
account:
build: "src/account/"
command: "npm run account"
ports:
- "5000:5000"
env_file: "src/account/.env"
dns:
- "8.8.8.8"
# account:
# build: "src/account/"
# command: "npm run account"
# ports:
# - "5000:5000"
# env_file: "src/account/.env"
# dns:
# - "8.8.8.8"
models:
build: "src/models/"
command: "echo Models Container Working"
routes:
build: "src/routes/"
command: "npx ts-node github.ts"
ports:
- "4000:4000"
- "8080:8080"
env_file: "src/routes/.env"
depends_on:
- "models"
client:
build: "client/"
command: "npm start"
ports:
- "3000:3000"
env_file: ".env"
env_file: "src/routes/.env"
# Requires server services to run before running client servers
depends_on:
- "account"
# - "account"
- "routes"
Loading

0 comments on commit cf0d5aa

Please sign in to comment.