[add] code-server
This commit is contained in:
parent
2d615f191a
commit
5fd946c04d
11 changed files with 144 additions and 43 deletions
26
code-server/Dockerfile
Normal file
26
code-server/Dockerfile
Normal file
|
@ -0,0 +1,26 @@
|
||||||
|
#
|
||||||
|
# add openjdk 11 and basex on code-server docker image
|
||||||
|
# @author Andy Bunce
|
||||||
|
FROM alpine:latest AS builder
|
||||||
|
RUN apk --no-cache add zip
|
||||||
|
ADD https://files.basex.org/releases/9.5/BaseX95.zip /srv
|
||||||
|
RUN cd /srv && unzip *.zip && rm *.zip
|
||||||
|
|
||||||
|
# custom options
|
||||||
|
COPY .basex /srv/basex/
|
||||||
|
|
||||||
|
# Main image
|
||||||
|
FROM ghcr.io/linuxserver/code-server:version-v3.9.1
|
||||||
|
LABEL author="Andy Bunce"
|
||||||
|
LABEL company="Quodatum Ltd"
|
||||||
|
LABEL maintainer="andy@quodatum.com"
|
||||||
|
|
||||||
|
|
||||||
|
ENV JAVA_HOME="/usr/lib/jvm/default-jvm/"
|
||||||
|
RUN apk add --no-cache bash openjdk11-jre-headless
|
||||||
|
# Has to be set explictly to find binaries
|
||||||
|
ENV PATH=$PATH:${JAVA_HOME}/bin
|
||||||
|
|
||||||
|
RUN adduser -h /srv -D -u 1000 basex
|
||||||
|
COPY --from=builder --chown=basex:basex /srv/ /srv
|
||||||
|
|
3
code-server/README.md
Normal file
3
code-server/README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# code-server
|
||||||
|
|
||||||
|
Installs `code-server:version-v3.9.1` with JRE and BaseX.
|
8
code-server/config/.gitignore
vendored
Normal file
8
code-server/config/.gitignore
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# .gitignore sample
|
||||||
|
###################
|
||||||
|
|
||||||
|
# Ignore all files in this dir...
|
||||||
|
*
|
||||||
|
|
||||||
|
# ... except for this one.
|
||||||
|
!.gitignore
|
4
gerbera/README.md
Normal file
4
gerbera/README.md
Normal file
|
@ -0,0 +1,4 @@
|
||||||
|
# gerbera
|
||||||
|
|
||||||
|
https://hub.docker.com/r/gerbera/gerbera
|
||||||
|
@TODO
|
8
gerbera/config/.gitignore
vendored
Normal file
8
gerbera/config/.gitignore
vendored
Normal file
|
@ -0,0 +1,8 @@
|
||||||
|
# .gitignore sample
|
||||||
|
###################
|
||||||
|
|
||||||
|
# Ignore all files in this dir...
|
||||||
|
*
|
||||||
|
|
||||||
|
# ... except for this one.
|
||||||
|
!.gitignore
|
16
gerbera/docker-compose.yml
Normal file
16
gerbera/docker-compose.yml
Normal file
|
@ -0,0 +1,16 @@
|
||||||
|
|
||||||
|
version: '2.0'
|
||||||
|
|
||||||
|
services:
|
||||||
|
gerbera:
|
||||||
|
image: gerbera/gerbera:1.9.2
|
||||||
|
container_name: gerbera
|
||||||
|
restart: always
|
||||||
|
volumes:
|
||||||
|
- "/mnt/media/pictures:/media/pictures:ro"
|
||||||
|
- "./videos:/media/videos:ro"
|
||||||
|
- "/mnt/drive/backups/velvet/media/Music:/media/music:ro"
|
||||||
|
- "./config:/var/run/gerbera"
|
||||||
|
# Port 49494/tcp (HTTP) and 1900/udp (SSDP Multicast) are exposed by default.
|
||||||
|
network_mode: "host"
|
||||||
|
restart: unless-stopped
|
3
gitea/README.md
Normal file
3
gitea/README.md
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
# Gitea
|
||||||
|
|
||||||
|
@TODO
|
|
@ -1,4 +1,36 @@
|
||||||
# piwigo setup
|
# piwigo notes
|
||||||
|
|
||||||
|
##Setup
|
||||||
|
1. Ensure empty folders `config` and `gallery`.
|
||||||
|
1. run `docker-compose up`
|
||||||
|
1. Activate plugins:
|
||||||
|
- Presync AutoRename
|
||||||
|
- LocalFiles Editor
|
||||||
|
- SmartAlbums
|
||||||
|
1. Edit local config
|
||||||
|
|
||||||
|
```
|
||||||
|
meta
|
||||||
|
```
|
||||||
|
|
||||||
|
1. Create folder pisacca in `/home/odroid/thedocks/piwigo/gallery/galleries`
|
||||||
|
1. `mount --bind /mnt/media/pictures/ /home/odroid/thedocks/piwigo/gallery/galleries/picassa`
|
||||||
|
1. run `Presync AutoRename`
|
||||||
|
1. Sync
|
||||||
|
|
||||||
|
## Based on
|
||||||
|
https://github.com/jkirk/docker-piwigo/blob/main/docker-compose.yml
|
||||||
|
|
||||||
|
```
|
||||||
|
#bind
|
||||||
|
mount --bind /mnt/media/pictures/ /home/odroid/thedocks/piwigo/gallery/galleries/picassa
|
||||||
|
|
||||||
|
# undo
|
||||||
|
umount /home/odroid/thedocks/piwigo/gallery/galleries/picassa
|
||||||
|
```
|
||||||
|
|
||||||
|
# fstab
|
||||||
|
```
|
||||||
|
/mnt/drive/backups/velvet/PicasaStarter/pictures/Pictures/ /mnt/drive/docker/projects/piwigo/piwigo/pics none bind
|
||||||
|
umount```
|
||||||
|
|
||||||
https://github.com/jkirk/docker-piwigo/blob/main/docker-compose.yml
|
|
|
@ -1,28 +1,28 @@
|
||||||
---
|
---
|
||||||
version: "2.1"
|
version: "2.1"
|
||||||
services:
|
services:
|
||||||
piwigo-db:
|
piwigo-db:
|
||||||
env_file:
|
env_file:
|
||||||
- piwigo-db.env
|
- piwigo-db.env
|
||||||
image: mariadb:10.5
|
image: mariadb:10.5
|
||||||
container_name: piwigo-db
|
container_name: piwigo-db
|
||||||
volumes:
|
volumes:
|
||||||
- piwigo-db:/var/lib/mysql
|
- piwigo-db:/var/lib/mysql
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
piwigo:
|
piwigo:
|
||||||
image: ghcr.io/linuxserver/piwigo
|
image: ghcr.io/linuxserver/piwigo
|
||||||
container_name: piwigo
|
container_name: piwigo
|
||||||
environment:
|
environment:
|
||||||
- PUID=1000
|
- PUID=1000
|
||||||
- PGID=1000
|
- PGID=1000
|
||||||
- TZ=Europe/London
|
- TZ=Europe/London
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/config
|
- ./config:/config
|
||||||
- ./gallery:/gallery
|
- ./gallery:/gallery
|
||||||
ports:
|
ports:
|
||||||
- 8002:80
|
- 8002:80
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
|
|
||||||
volumes:
|
volumes:
|
||||||
piwigo-db:
|
piwigo-db:
|
|
@ -1,13 +1,13 @@
|
||||||
version: '3'
|
version: '3'
|
||||||
|
|
||||||
services:
|
services:
|
||||||
tiddly:
|
tiddly:
|
||||||
image: tiddlywiki:5.2.0
|
image: tiddlywiki:5.2.0
|
||||||
build: .
|
build: .
|
||||||
container_name: tiddlywiki-docker
|
container_name: tiddlywiki-docker
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
volumes:
|
volumes:
|
||||||
- ./data/quodatum:/app
|
- ./data/quodatum:/app
|
||||||
ports:
|
ports:
|
||||||
- 8088:8080
|
- 8088:8080
|
||||||
env_file: ./.env
|
env_file: ./.env
|
||||||
|
|
|
@ -10,7 +10,8 @@ services:
|
||||||
- TZ=Europe/London
|
- TZ=Europe/London
|
||||||
volumes:
|
volumes:
|
||||||
- ./config:/config
|
- ./config:/config
|
||||||
- ./recordings:/recordings
|
- /mnt/media/recordings:/recordings
|
||||||
|
# - ./recordings:/recordings
|
||||||
ports:
|
ports:
|
||||||
- 9981:9981
|
- 9981:9981
|
||||||
- 9982:9982
|
- 9982:9982
|
||||||
|
|
Loading…
Add table
Reference in a new issue