Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
version: '2'
services:
kafka:
image: spotify/kafka
environment:
- ADVERTISED_HOST=172.17.0.1
- ADVERTISED_PORT=9092
ports:
- "2181:2181"
- "9092:9092"
db:
image: postgres:12
container_name: db
restart: always
ports:
- "5432:5432"
volumes:
- ./initdb.d:/docker-entrypoint-initdb.d
- ./pgdata:/var/lib/postgresql/data
environment:
POSTGRES_USER: postgres
POSTGRES_DB: postgres
POSTGRES_PASSWORD: postgres123
jupyter:
image: jupyter/datascience-notebook
environment:
- http.host=0.0.0.0
- transport.host=127.0.0.1
- TZ=Asia/Taipei
- db_host=db
- db_name=postgres
- db_userid=postgres
- db_password=postgres123
depends_on:
- db
- kafka
volumes:
- /Users/tungchun/py_work:/home/jovyan
ports:
- 8888:8888
- 8000:8000
- 5000:5000
command: >
bash -c "start.sh jupyter lab --ip=0.0.0.0"
Binary file modified linux 101.pdf
Binary file not shown.
16 changes: 16 additions & 0 deletions work.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# 2022 Fall

##hw1
```

```

##hw2
```

```

##hw3
```

```