diff --git a/.gitignore b/.gitignore index 5db784e..53ea868 100644 --- a/.gitignore +++ b/.gitignore @@ -87,4 +87,6 @@ resize_collections build_tfrecords # mysql dir -mysql/ \ No newline at end of file +mysql/ +config/* +!config/config.template.yaml diff --git a/config/config.template.yaml b/config/config.template.yaml new file mode 100644 index 0000000..1a553c1 --- /dev/null +++ b/config/config.template.yaml @@ -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 \ No newline at end of file diff --git a/docker-compose.yaml b/docker-compose.yaml index 7718369..6fbe52d 100644 --- a/docker-compose.yaml +++ b/docker-compose.yaml @@ -4,6 +4,7 @@ services: image: jupyter/tensorflow-notebook:7f1482f5a136 container_name: jupyter-iss command: start.sh jupyter lab --NotebookApp.base_url=/jupyter --NotebookApp.token='' --NotebookApp.password='' + user: root networks: - netproxy - default @@ -13,6 +14,9 @@ services: - "traefik.enable=true" - "traefik.frontend.rule=Host:iss.docker.lo;PathPrefix: /jupyter" - "traefik.port=8888" + environment: + - NB_GID=1000 + - NB_USER=jovyan adminer: image: adminer:4.7