automated terminal push
This commit is contained in:
11
.recycle/desktops/studio/.dockerignore
Executable file
11
.recycle/desktops/studio/.dockerignore
Executable file
@@ -0,0 +1,11 @@
|
||||
.volumes
|
||||
|
||||
.git
|
||||
|
||||
.import
|
||||
|
||||
.stash
|
||||
|
||||
.recycle
|
||||
|
||||
.trash
|
||||
11
.recycle/desktops/studio/.gitignore
vendored
Executable file
11
.recycle/desktops/studio/.gitignore
vendored
Executable file
@@ -0,0 +1,11 @@
|
||||
.volumes
|
||||
|
||||
.git
|
||||
|
||||
.import
|
||||
|
||||
.stash
|
||||
|
||||
.recycle
|
||||
|
||||
.trash
|
||||
9
.recycle/desktops/studio/Dockerfile
Executable file
9
.recycle/desktops/studio/Dockerfile
Executable file
@@ -0,0 +1,9 @@
|
||||
FROM dorowu/ubuntu-desktop-lxde-vnc as desktopBase
|
||||
|
||||
RUN rm /etc/apt/sources.list.d/google-chrome.list
|
||||
|
||||
RUN apt update && apt install -y recordmydesktop kdenlive shotcut zip docker-compose curl wget net-tools keepassx vlc dos2unix git filezilla openjdk-17-jdk maven gradle
|
||||
|
||||
COPY /provision .
|
||||
|
||||
RUN bash netbeans.bash
|
||||
119
.recycle/desktops/studio/compose.yaml
Executable file
119
.recycle/desktops/studio/compose.yaml
Executable file
@@ -0,0 +1,119 @@
|
||||
services:
|
||||
|
||||
##########################################
|
||||
##
|
||||
## reverse proxy and ssl things
|
||||
##
|
||||
##########################################
|
||||
|
||||
software-shinobi-proxy:
|
||||
|
||||
container_name: software-shinobi-proxy
|
||||
|
||||
hostname: hyperion
|
||||
|
||||
image: nginxproxy/nginx-proxy
|
||||
|
||||
restart: unless-stopped
|
||||
|
||||
ports:
|
||||
|
||||
- 80:80
|
||||
|
||||
- 443:443
|
||||
|
||||
volumes:
|
||||
|
||||
- /var/run/docker.sock:/tmp/docker.sock:ro
|
||||
|
||||
- /var/docker/nginx/html:/usr/share/nginx/html
|
||||
|
||||
- /var/docker/nginx/certs:/etc/nginx/certs
|
||||
|
||||
- /var/docker/nginx/vhost:/etc/nginx/vhost.d
|
||||
|
||||
logging:
|
||||
|
||||
options:
|
||||
|
||||
max-size: "10m"
|
||||
|
||||
max-file: "3"
|
||||
|
||||
software-shinobi-letsencrypt:
|
||||
|
||||
container_name: software-shinobi-letsencrypt
|
||||
|
||||
image: jrcs/letsencrypt-nginx-proxy-companion
|
||||
|
||||
restart: unless-stopped
|
||||
|
||||
volumes_from:
|
||||
|
||||
- software-shinobi-proxy
|
||||
|
||||
volumes:
|
||||
|
||||
- /var/run/docker.sock:/var/run/docker.sock
|
||||
|
||||
- /var/docker/nginx/acme:/etc/acme.sh
|
||||
|
||||
environment:
|
||||
|
||||
DEFAULT_EMAIL: the.software.shinobi@gmail.com
|
||||
|
||||
##########################################
|
||||
##
|
||||
## software shinobi studio situation
|
||||
##
|
||||
##########################################
|
||||
|
||||
software-shinobi-desktop:
|
||||
|
||||
container_name: software-shinobi-desktop
|
||||
|
||||
hostname: hyperion
|
||||
|
||||
image: softwareshinobi/software-shinobi-studio
|
||||
|
||||
restart: unless-stopped
|
||||
|
||||
## deploy:
|
||||
##
|
||||
## resources:
|
||||
##
|
||||
## limits:
|
||||
##
|
||||
## cpus: 2
|
||||
##
|
||||
## memory: 3.5G
|
||||
##
|
||||
## reservations:
|
||||
##
|
||||
## cpus: 1
|
||||
##
|
||||
## memory: 2.0G
|
||||
|
||||
volumes:
|
||||
|
||||
- .volumes/desktop:/root
|
||||
|
||||
domainname: desktop.softwareshinobi.digital
|
||||
|
||||
environment:
|
||||
|
||||
TZ: America/Bogota
|
||||
|
||||
USER_UID: 1000
|
||||
|
||||
USER_GID: 1000
|
||||
|
||||
USER: root
|
||||
|
||||
PASSWORD: passw0rd
|
||||
|
||||
HTTP_PASSWORD: passw0rd
|
||||
|
||||
VIRTUAL_HOST: desktop.softwareshinobi.digital
|
||||
|
||||
LETSENCRYPT_HOST: desktop.softwareshinobi.digital
|
||||
BIN
.recycle/desktops/studio/files/Pictures/desktop.png
Executable file
BIN
.recycle/desktops/studio/files/Pictures/desktop.png
Executable file
Binary file not shown.
|
After Width: | Height: | Size: 20 KiB |
37
.recycle/desktops/studio/provision/netbeans.bash
Executable file
37
.recycle/desktops/studio/provision/netbeans.bash
Executable file
@@ -0,0 +1,37 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
set -x
|
||||
|
||||
##
|
||||
## create the apps dir and populate with unzipped netbeans content
|
||||
##
|
||||
|
||||
ls
|
||||
|
||||
mkdir /apps
|
||||
|
||||
cd /apps
|
||||
|
||||
##
|
||||
|
||||
ls
|
||||
|
||||
wget https://dlcdn.apache.org/netbeans/netbeans/21/netbeans-21-bin.zip
|
||||
|
||||
ls
|
||||
|
||||
mv netbeans-21-bin.zip netbeans.zip
|
||||
|
||||
ls
|
||||
|
||||
unzip netbeans.zip
|
||||
|
||||
ls
|
||||
|
||||
pwd
|
||||
|
||||
##
|
||||
##
|
||||
##
|
||||
17
.recycle/desktops/studio/studio.bash
Executable file
17
.recycle/desktops/studio/studio.bash
Executable file
@@ -0,0 +1,17 @@
|
||||
#!/bin/bash
|
||||
|
||||
set -e
|
||||
|
||||
set -x
|
||||
|
||||
reset
|
||||
|
||||
clear
|
||||
|
||||
docker-compose build
|
||||
|
||||
docker-compose pull
|
||||
|
||||
docker-compose down
|
||||
|
||||
docker-compose up -d
|
||||
Reference in New Issue
Block a user