chore: gitattributes, README, Docker
* Add gitattributes * Update README to include additional configuration instructions * Update OBS app to use prebuilt Docker images * Remove obsolete links attribute from compose files * Use cage based image by default for OBS app * Fix use of yaml anchors in compose files for new compose version
This commit is contained in:
parent
1b0f373208
commit
2e3a3c59c3
7 changed files with 11 additions and 12 deletions
2
.gitattributes
vendored
Normal file
2
.gitattributes
vendored
Normal file
|
@ -0,0 +1,2 @@
|
||||||
|
* text=auto eol=lf
|
||||||
|
Dockerfile.* linguist-language=Dockerfile
|
|
@ -12,10 +12,13 @@ It should also ask you what domain Caddy should use to serve Guacamole on, it sh
|
||||||
$ ./prepare.sh
|
$ ./prepare.sh
|
||||||
Domain Guacamole should be served on [localhost]: desktop.mydomain.com
|
Domain Guacamole should be served on [localhost]: desktop.mydomain.com
|
||||||
Preparing folder guacamole/init and creating guacamole/init/initdb.sql
|
Preparing folder guacamole/init and creating guacamole/init/initdb.sql
|
||||||
done
|
Setting permissions for user directory (chown needs root)
|
||||||
|
everything done
|
||||||
```
|
```
|
||||||
|
|
||||||
After that you can already start the containers using `docker-compose up -d`
|
After that you can already start the containers using `docker-compose -f compose.yml up -d` to create the network first and then optionally run `docker-compose up -d` to build and start the default OBS app container.
|
||||||
|
|
||||||
|
Using the default guacamole credentials `guacadmin:guacadmin`, you can now create a connection using `obs:5900` as network parameters in `Settings > Connection > New Connection` with VNC as protocol.
|
||||||
|
|
||||||
## Config
|
## Config
|
||||||
|
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
Dockerfile.sway
|
Dockerfile.cage
|
|
@ -1,4 +1,4 @@
|
||||||
FROM cagevnc:latest
|
FROM git.snrd.eu/sunred/cagevnc:latest
|
||||||
|
|
||||||
RUN pacman -Syu --noconfirm obs-studio \
|
RUN pacman -Syu --noconfirm obs-studio \
|
||||||
&& yes y | pacman -Scc \
|
&& yes y | pacman -Scc \
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
FROM swayvnc:latest
|
FROM git.snrd.eu/sunred/swayvnc:latest
|
||||||
|
|
||||||
RUN pacman -Syu --noconfirm obs-studio \
|
RUN pacman -Syu --noconfirm obs-studio \
|
||||||
&& yes y | pacman -Scc \
|
&& yes y | pacman -Scc \
|
||||||
|
|
|
@ -16,8 +16,6 @@ services:
|
||||||
container_name: obs-studio
|
container_name: obs-studio
|
||||||
pull_policy: never
|
pull_policy: never
|
||||||
hostname: $HOSTNAME
|
hostname: $HOSTNAME
|
||||||
links:
|
|
||||||
- guacd
|
|
||||||
volumes:
|
volumes:
|
||||||
- ./user:/home/nobody
|
- ./user:/home/nobody
|
||||||
devices:
|
devices:
|
||||||
|
|
|
@ -4,8 +4,7 @@ x-restart-policy: &restart_policy
|
||||||
x-pull-policy: &pull_policy
|
x-pull-policy: &pull_policy
|
||||||
pull_policy: always
|
pull_policy: always
|
||||||
x-compose-defaults: &compose_defaults
|
x-compose-defaults: &compose_defaults
|
||||||
<<: *restart_policy
|
<<: [*restart_policy, *pull_policy]
|
||||||
<<: *pull_policy
|
|
||||||
networks:
|
networks:
|
||||||
desktop:
|
desktop:
|
||||||
|
|
||||||
|
@ -37,9 +36,6 @@ services:
|
||||||
depends_on:
|
depends_on:
|
||||||
- guacd
|
- guacd
|
||||||
- postgres
|
- postgres
|
||||||
links:
|
|
||||||
- guacd
|
|
||||||
- postgres
|
|
||||||
environment:
|
environment:
|
||||||
GUACD_HOSTNAME: guacd
|
GUACD_HOSTNAME: guacd
|
||||||
EXTENSIONS: auth-totp
|
EXTENSIONS: auth-totp
|
||||||
|
|
Loading…
Reference in a new issue