feat: trajni volume za RDP prijenos datoteka (drive redirection)
guacd nije imao nijedan volume, pa bi datoteke prenesene kroz drive redirection zavrsile u efemernom sloju kontejnera i nestale pri prvom restartu. Dodan imenovani volume guac_drive montiran na /drive. Sama konekcija se i dalje konfigurira u Guacamoleu; komentar u compose datoteci navodi koje parametre treba postaviti. Napomena za postojece instalacije: volume je u startu vlasnistvo roota, a guacd radi kao uid 1000 — treba jednom napraviti docker run --rm -v guacamole_guac_drive:/drive alpine chown 1000:1000 /drive Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
@@ -288,6 +288,12 @@ services:
|
|||||||
image: guacamole/guacd:${GUAC_VERSION}
|
image: guacamole/guacd:${GUAC_VERSION}
|
||||||
container_name: guacd
|
container_name: guacd
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
volumes:
|
||||||
|
# Odrediste za RDP drive redirection (prijenos datoteka). Bez trajnog
|
||||||
|
# volumena prenesene datoteke nestaju pri svakom restartu kontejnera.
|
||||||
|
# U konekciji postaviti: enable-drive=true, create-drive-path=true,
|
||||||
|
# drive-path=/drive/\${GUAC_USERNAME}
|
||||||
|
- guac_drive:/drive
|
||||||
networks: [guac_net]
|
networks: [guac_net]
|
||||||
|
|
||||||
postgres:
|
postgres:
|
||||||
@@ -345,6 +351,7 @@ networks:
|
|||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
postgres_data:
|
postgres_data:
|
||||||
|
guac_drive:
|
||||||
EOF
|
EOF
|
||||||
info "docker-compose.yml kreiran"
|
info "docker-compose.yml kreiran"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user