Initial commit
This commit is contained in:
commit
e6a507aa6c
4 changed files with 36 additions and 0 deletions
23
Dockerfile
Normal file
23
Dockerfile
Normal file
|
|
@ -0,0 +1,23 @@
|
||||||
|
FROM ubuntu:latest
|
||||||
|
|
||||||
|
# Install Xvfb, Wine, and Guacamole
|
||||||
|
RUN apt-get update && apt-get install -y xvfb wine-stable guacamole
|
||||||
|
|
||||||
|
# Install the Windows application
|
||||||
|
COPY MusicBeePortable_3_5.exe /app/MusicBee.exe
|
||||||
|
|
||||||
|
# Configure Xvfb and Wine
|
||||||
|
ENV DISPLAY=:99
|
||||||
|
RUN Xvfb :99 -screen 0 1024x768x24 &
|
||||||
|
|
||||||
|
# Configure Guacamole
|
||||||
|
ENV GUACAMOLE_HOME=/etc/guacamole
|
||||||
|
RUN mkdir -p $GUACAMOLE_HOME
|
||||||
|
COPY guacamole.properties $GUACAMOLE_HOME/guacamole.properties
|
||||||
|
|
||||||
|
# Expose the Guacamole port
|
||||||
|
EXPOSE 8080
|
||||||
|
|
||||||
|
# Run the Windows application at container startup
|
||||||
|
CMD ["wine", "/app/MusicBee.exe"]
|
||||||
|
|
||||||
BIN
MusicBeePortable_3_5.exe
Normal file
BIN
MusicBeePortable_3_5.exe
Normal file
Binary file not shown.
9
docker-compose.yml
Normal file
9
docker-compose.yml
Normal file
|
|
@ -0,0 +1,9 @@
|
||||||
|
version: '3'
|
||||||
|
services:
|
||||||
|
guacamole:
|
||||||
|
build: .
|
||||||
|
ports:
|
||||||
|
- "8080:8080"
|
||||||
|
environment:
|
||||||
|
- DISPLAY=:99
|
||||||
|
|
||||||
4
guacamole.properties
Normal file
4
guacamole.properties
Normal file
|
|
@ -0,0 +1,4 @@
|
||||||
|
guacd-hostname: localhost
|
||||||
|
guacd-port: 4822
|
||||||
|
user-mapping: username=admin
|
||||||
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue