Commit 2bcca37 1 parent c0eb172 commit 2bcca37 Copy full SHA for 2bcca37
File tree 2 files changed +3
-1
lines changed
2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -46,4 +46,4 @@ COPY --chown=appuser . .
46
46
STOPSIGNAL SIGINT
47
47
ENV LD_PRELOAD=libtcmalloc.so
48
48
ENV PATH="$PATH:/home/appuser/.local/bin"
49
- CMD python3 "./kohya_gui.py" ${CLI_ARGS} --listen 0.0.0.0 --server_port 7860 --headless
49
+ CMD python3 "./kohya_gui.py" ${CLI_ARGS} --listen 0.0.0.0 --server_port 7860
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ services:
12
12
environment :
13
13
CLI_ARGS : " "
14
14
SAFETENSORS_FAST_GPU : 1
15
+ DISPLAY : $DISPLAY
15
16
tmpfs :
16
17
- /tmp
17
18
volumes :
@@ -21,6 +22,7 @@ services:
21
22
- ./.cache/config:/app/appuser/.config
22
23
- ./.cache/nv:/home/appuser/.nv
23
24
- ./.cache/keras:/home/appuser/.keras
25
+ - /tmp/.X11-unix:/tmp/.X11-unix
24
26
deploy :
25
27
resources :
26
28
reservations :
You can’t perform that action at this time.
0 commit comments