mirror of
https://github.com/prise6/smart-iss-posts
synced 2024-05-26 10:22:14 +02:00
fichiers de configs
This commit is contained in:
parent
2895d140c5
commit
f6d8b0c33c
4
.gitignore
vendored
4
.gitignore
vendored
|
@ -87,4 +87,6 @@ resize_collections
|
||||||
build_tfrecords
|
build_tfrecords
|
||||||
|
|
||||||
# mysql dir
|
# mysql dir
|
||||||
mysql/
|
mysql/
|
||||||
|
config/*
|
||||||
|
!config/config.template.yaml
|
||||||
|
|
21
config/config.template.yaml
Normal file
21
config/config.template.yaml
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
version: 1
|
||||||
|
mysql:
|
||||||
|
database:
|
||||||
|
name: XXX
|
||||||
|
user: XXX
|
||||||
|
password: XXX
|
||||||
|
server: XXX
|
||||||
|
port: 3306
|
||||||
|
directory:
|
||||||
|
collections: 'path/to/dir/collection'
|
||||||
|
autoencoder:
|
||||||
|
base: 'path/to/dir/collection'
|
||||||
|
train: 'path/to/dir/collection'
|
||||||
|
test: 'path/to/dir/collection'
|
||||||
|
valid: 'path/to/dir/collection'
|
||||||
|
training:
|
||||||
|
seed: 37672
|
||||||
|
proportions:
|
||||||
|
train: 0.7
|
||||||
|
test: 0.2
|
||||||
|
valid: 0.1
|
|
@ -4,6 +4,7 @@ services:
|
||||||
image: jupyter/tensorflow-notebook:7f1482f5a136
|
image: jupyter/tensorflow-notebook:7f1482f5a136
|
||||||
container_name: jupyter-iss
|
container_name: jupyter-iss
|
||||||
command: start.sh jupyter lab --NotebookApp.base_url=/jupyter --NotebookApp.token='' --NotebookApp.password=''
|
command: start.sh jupyter lab --NotebookApp.base_url=/jupyter --NotebookApp.token='' --NotebookApp.password=''
|
||||||
|
user: root
|
||||||
networks:
|
networks:
|
||||||
- netproxy
|
- netproxy
|
||||||
- default
|
- default
|
||||||
|
@ -13,6 +14,9 @@ services:
|
||||||
- "traefik.enable=true"
|
- "traefik.enable=true"
|
||||||
- "traefik.frontend.rule=Host:iss.docker.lo;PathPrefix: /jupyter"
|
- "traefik.frontend.rule=Host:iss.docker.lo;PathPrefix: /jupyter"
|
||||||
- "traefik.port=8888"
|
- "traefik.port=8888"
|
||||||
|
environment:
|
||||||
|
- NB_GID=1000
|
||||||
|
- NB_USER=jovyan
|
||||||
|
|
||||||
adminer:
|
adminer:
|
||||||
image: adminer:4.7
|
image: adminer:4.7
|
||||||
|
|
Loading…
Reference in a new issue