From f60e49d8816909b2a85cedec73139ae88e9bbb0a Mon Sep 17 00:00:00 2001 From: Novan adhagara Date: Wed, 16 Oct 2019 21:00:32 +0700 Subject: [PATCH] docker --- KMeans/docker-compose.yml | 22 ++++++++++++++++++++++ docker/docker-compose.yml | 22 ++++++++++++++++++++++ 2 files changed, 44 insertions(+) create mode 100644 KMeans/docker-compose.yml create mode 100644 docker/docker-compose.yml diff --git a/KMeans/docker-compose.yml b/KMeans/docker-compose.yml new file mode 100644 index 0000000..a5c94d7 --- /dev/null +++ b/KMeans/docker-compose.yml @@ -0,0 +1,22 @@ +version: "3" +services: + handson-ml: + build: + context: ../ + dockerfile: ./docker/Dockerfile + args: + - username=devel + - userid=1000 + container_name: handson-ml + image: handson-ml + restart: unless-stopped + logging: + driver: json-file + options: + max-size: 50m + ports: + - "8888:8888" + - "6006:6006" + volumes: + - ../:/home/devel/handson-ml + command: /opt/conda/bin/jupyter notebook --ip='0.0.0.0' --port=8888 --no-browser diff --git a/docker/docker-compose.yml b/docker/docker-compose.yml new file mode 100644 index 0000000..a5c94d7 --- /dev/null +++ b/docker/docker-compose.yml @@ -0,0 +1,22 @@ +version: "3" +services: + handson-ml: + build: + context: ../ + dockerfile: ./docker/Dockerfile + args: + - username=devel + - userid=1000 + container_name: handson-ml + image: handson-ml + restart: unless-stopped + logging: + driver: json-file + options: + max-size: 50m + ports: + - "8888:8888" + - "6006:6006" + volumes: + - ../:/home/devel/handson-ml + command: /opt/conda/bin/jupyter notebook --ip='0.0.0.0' --port=8888 --no-browser