Commit Graph

19 Commits (074de82dc5fdd94d26c45c7365c46c8ac58c4d1c)

Author SHA1 Message Date
陳鈞 074de82dc5
chore(docker): Configure TensorBoard port through .env file (#2397)
* chore(docker): Configure TensorBoard port through .env file

- Added a new `.env` file to specify the TensorBoard port
- Updated the `docker-compose.yaml` file to import the TensorBoard port from the `.env` file
- Adjusted the tensorboard service in `docker-compose.yaml` to make the port configurable via an environment variable
- Added a comment in `docker-compose.yaml` to encourage changing the port in the `.env` file instead of the docker-compose file itself

* fix: the `Open tensorboard` button is not working in headless environment

Use the gradio builtin feature instead.

- In `class_tensorboard.py`, the "Open tensorboard" button now directly links to the tensorboard URL instead of calling the `open_tensorboard_url` function when clicked.
2024-04-26 19:43:37 -04:00
陳鈞 01387911ee
chore(docker): Change the docker image to bmaltais's registry
- Change the docker image from `ghcr.io/jim60105/kohya-ss-gui:latest` to `ghcr.io/bmaltais/kohya-ss-gui:latest`
- Update the cache source from `ghcr.io/jim60105/kohya-ss-gui:cache` to `ghcr.io/bmaltais/kohya-ss-gui:cache`

Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-04-26 01:11:31 +08:00
陳鈞 289431cb52
chore(docker): improve logging setup
- Implemented rich logging in Dockerfile and set FORCE_COLOR environment variable to true
- Set the COLUMNS environment variable to `100` in Dockerfile for wider output
- Replaced single quotes with double quotes for `device_ids` value in docker-compose.yaml

Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-04-26 01:09:41 +08:00
陳鈞 f7d36dca3a
chore(docker): update docker-compose image source for `kohya-ss-gui` service
- Update the image source for `kohya-ss-gui` service in docker-compose file from `kohya-ss-gui:latest` to `ghcr.io/jim60105/kohya-ss-gui:latest`

`ghcr.io/jim60105/kohya-ss-gui` is for testing the forked repository and must be changed to `bmaltais`'s registry before merging the PR.

Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-04-26 01:09:41 +08:00
陳鈞 c73e7371c6
chore(docker): `version` is obsolete
Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-04-26 01:09:40 +08:00
陳鈞 05d420faf1
chore(docker): remove 6006 port from kohya-ss-gui in docker-compose
- Remove the mapping for the port 6006 in the docker-compose file

Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-04-26 01:09:40 +08:00
陳鈞 ab37b4da0a
feat(docker): remove and standalone TensorBoard (TensorFlow) for docker
- The Dockerfile no longer installs TensorFlow, only PyTorch
- The TensorBoard exposure port has been removed from the Dockerfile
- A new tensorboard service has been added to the docker-compose.yaml file, utilizing the TensorFlow:latest-gpu image and exposing port 6006.
- The requirements_linux_docker.txt file has the tensorboard and tensorflow requirements commented out.

Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-04-26 01:09:36 +08:00
陳鈞 52228ca15a
feat(docker): map `config` directory under app directory
Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-03-15 12:44:48 +08:00
陳鈞 ddc71d99d3
feat(docker): map `dataset` to default folders
Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-03-15 12:44:48 +08:00
陳鈞 a656722cb1
chore(docker): clean up docker-compose
Clear special settings that were used in the old image.

Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-03-15 12:44:48 +08:00
陳鈞 83bf2e0649
chore(docker): rewrite Dockerfile
Signed-off-by: 陳鈞 <jim60105@gmail.com>
2024-02-18 09:58:59 +08:00
Andrea Benfatti 355b2cb709
Update docker-compose.yaml
add capabilities: [gpu] to enable gpu on window docker desktop
2023-12-14 23:37:12 +01:00
陳鈞 183bf1473a
feat: Let Tensorboard works in docker 2023-07-09 06:57:57 +08:00
bmaltais edae83b8cc updates 2023-06-26 10:46:14 -04:00
burdukow 2bcca37961 Docker working tkinter 2023-06-13 14:43:03 +05:00
Enes Sadık Özbek 1daafcc91c
Docker: fix missing libnvinfer7 2023-05-01 18:40:21 +03:00
Enes Sadık Özbek 6a7ca53738
Docker: update cached directories 2023-05-01 18:11:23 +03:00
Enes Sadık Özbek cba5e46409
Docker: remove cache.json 2023-05-01 18:06:59 +03:00
Enes Sadık Özbek 82fce1166e
Add docker support 2023-05-01 16:59:44 +03:00