Skip to content

Commit cdac01e

Browse files
committed
changed settings
1 parent 502876a commit cdac01e

File tree

2 files changed

+21
-32
lines changed

2 files changed

+21
-32
lines changed

.devcontainer/devcontainer.json

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,17 @@
11
{
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+
},
615
"name": "Kaggle Agent Dev Container",
716
"postCreateCommand": "pipx install poetry && poetry install",
817
"service": "jupyter-app",

docker-compose.yml

Lines changed: 8 additions & 28 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,10 @@
1+
version: '3.8'
2+
13
services:
24
# MongoDB service from the first compose
35
mongodb:
46
image: mongo:latest
57
container_name: mongodb
6-
environment:
7-
- MONGO_INITDB_ROOT_USERNAME=${NB_USER}
8-
- MONGO_INITDB_ROOT_PASSWORD=${TOKEN}
98
ports:
109
- "27017:27017"
1110
volumes:
@@ -15,34 +14,14 @@ services:
1514

1615
# App service from the first compose
1716
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
2521
ports:
2622
- "8888:8888"
2723

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+
4625

4726
# Postgres DB from the second compose
4827
db:
@@ -64,6 +43,7 @@ services:
6443
env_file:
6544
- .env.docker
6645

46+
6747
volumes:
6848
mongo-data:
6949
database_data:

0 commit comments

Comments
 (0)