File tree Expand file tree Collapse file tree 2 files changed +21
-32
lines changed Expand file tree Collapse file tree 2 files changed +21
-32
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- "dockerComposeFile" : " ../docker-compose.yml" ,
3
- "extensions" : [
4
- " ms-azuretools.vscode-docker"
5
- ],
2
+ "customizations" : {
3
+ "vscode" : {
4
+ "extensions" : [
5
+ " ms-azuretools.vscode-docker"
6
+ ]
7
+ }
8
+ },
9
+ "dockerComposeFile" : " ./docker-compose.yml" ,
10
+ "features" : {
11
+ "docker-in-docker" : {
12
+ "version" : " latest"
13
+ }
14
+ },
6
15
"name" : " Kaggle Agent Dev Container" ,
7
16
"postCreateCommand" : " pipx install poetry && poetry install" ,
8
17
"service" : " jupyter-app" ,
Original file line number Diff line number Diff line change
1
+ version : ' 3.8'
2
+
1
3
services :
2
4
# MongoDB service from the first compose
3
5
mongodb :
4
6
image : mongo:latest
5
7
container_name : mongodb
6
- environment :
7
- - MONGO_INITDB_ROOT_USERNAME=${NB_USER}
8
- - MONGO_INITDB_ROOT_PASSWORD=${TOKEN}
9
8
ports :
10
9
- " 27017:27017"
11
10
volumes :
@@ -15,34 +14,14 @@ services:
15
14
16
15
# App service from the first compose
17
16
jupyter-app :
18
- build :
19
- context : ./notebook
20
- dockerfile : ../Dockerfile
21
- env_file :
22
- - .env.docker
23
- # depends_on:
24
- # - mongodb
17
+ build : .
18
+ volumes :
19
+ - .:/workspace
20
+ command : sleep infinity
25
21
ports :
26
22
- " 8888:8888"
27
23
28
- # Langfuse server from the second compose
29
- langfuse-server :
30
- image : langfuse/langfuse:2.8
31
- depends_on :
32
- db :
33
- condition : service_healthy
34
- ports :
35
- - " 3000:3000"
36
- environment :
37
- - DATABASE_URL=postgresql://postgres:postgres@db:5432/postgres
38
- - NEXTAUTH_SECRET=mysecret
39
- - SALT=mysalt
40
- - ENCRYPTION_KEY=3c97d566b8fd80e8e7bb8dbecb36c72db049003a37899f1c4c83cdca1d68c211
41
- - NEXTAUTH_URL=http://localhost:3000
42
- - TELEMETRY_ENABLED=${TELEMETRY_ENABLED:-true}
43
- - LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES=${LANGFUSE_ENABLE_EXPERIMENTAL_FEATURES:-false}
44
- env_file :
45
- - .env.docker
24
+
46
25
47
26
# Postgres DB from the second compose
48
27
db :
@@ -64,6 +43,7 @@ services:
64
43
env_file :
65
44
- .env.docker
66
45
46
+
67
47
volumes :
68
48
mongo-data :
69
49
database_data :
You can’t perform that action at this time.
0 commit comments