Skip to content

Commit 1c09c19

Browse files
Merge pull request #99 from geoCML/auth-env
Use env auth module for XPRA
2 parents a08ff20 + 6624ca3 commit 1c09c19

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfiles/Dockerfile.geocml-desktop

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,4 +31,4 @@ RUN rm -rf $HOME/.ansible && apt purge -y ansible*
3131
RUN apt clean autoclean && apt autoremove -y && rm -rf /var/lib/{apt,dpkg,cache,log}/
3232

3333
USER user
34-
CMD ["xpra", "start", ":100", "--start-child=/usr/bin/qgis /Persistence/geocml-project.qgz", "--bind-tcp=0.0.0.0:10000", "--auth=password,value=$GEOCML_DESKTOP_PASSWORD", "--no-daemon", "--no-notifications", "--no-mdns", "--no-pulseaudio", "--exit-with-children"]
34+
CMD ["xpra", "start", ":100", "--start-child=/usr/bin/qgis /Persistence/geocml-project.qgz", "--bind-tcp=0.0.0.0:10000", "--tcp-auth=env", "--no-daemon", "--no-notifications", "--no-mdns", "--no-pulseaudio", "--exit-with-children"]

docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ services:
3131
target: /Persistence
3232
hostname: geocml-desktop
3333
environment:
34-
GEOCML_DESKTOP_PASSWORD: ${GEOCML_DESKTOP_PASSWORD}
34+
XPRA_PASSWORD: ${GEOCML_DESKTOP_PASSWORD}
3535
networks:
3636
- geocml-network
3737
geocml-postgres:

0 commit comments

Comments
 (0)