Compare commits
7
Commits
abf61c979f
..
main
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
c2b6f09da9 | ||
|
|
0ef4c4bb20 | ||
|
|
52064864f5 | ||
|
|
1da5a28e23 | ||
|
|
45ce3b3b6a | ||
|
|
b9453edde9 | ||
|
|
1c12f71a87 |
No files matched your search
@@ -0,0 +1,4 @@
|
|||||||
|
[submodule "miyouqian/upstream"]
|
||||||
|
path = miyouqian/upstream
|
||||||
|
url = https://github.com/Marchen-orz/MiyoQian.git
|
||||||
|
branch = master
|
||||||
@@ -4,12 +4,24 @@ set -euo pipefail
|
|||||||
SCRIPT_DIR="$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")")"
|
SCRIPT_DIR="$(dirname -- "$(readlink -f -- "${BASH_SOURCE[0]}")")"
|
||||||
STACKS_DIR="${STACKS_DIR:-$SCRIPT_DIR}"
|
STACKS_DIR="${STACKS_DIR:-$SCRIPT_DIR}"
|
||||||
docker_args=(--rm -v "$STACKS_DIR:/app")
|
docker_args=(--rm -v "$STACKS_DIR:/app")
|
||||||
dclint_args=(. -r)
|
dclint_args=()
|
||||||
|
|
||||||
if [[ -t 1 ]]; then
|
if [[ -t 1 ]]; then
|
||||||
docker_args+=(-t)
|
docker_args+=(-t)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Scan immediate stack directories without recursing into their subdirectories.
|
||||||
|
shopt -s nullglob
|
||||||
|
for stack_dir in "$STACKS_DIR"/*/; do
|
||||||
|
stack_dir="${stack_dir%/}"
|
||||||
|
dclint_args+=("/app/${stack_dir##*/}")
|
||||||
|
done
|
||||||
|
|
||||||
|
if ((${#dclint_args[@]} == 0)); then
|
||||||
|
printf 'No stack directories found in %s\n' "$STACKS_DIR" >&2
|
||||||
|
exit 1
|
||||||
|
fi
|
||||||
|
|
||||||
case "${1:-}" in
|
case "${1:-}" in
|
||||||
"")
|
"")
|
||||||
;;
|
;;
|
||||||
|
|||||||
@@ -0,0 +1,34 @@
|
|||||||
|
name: homepage
|
||||||
|
services:
|
||||||
|
homepage:
|
||||||
|
image: ghcr.io/gethomepage/homepage:v2.7.0
|
||||||
|
container_name: homepage
|
||||||
|
volumes:
|
||||||
|
- /srv/data/homepage:/app/config
|
||||||
|
# - /var/run/docker.sock:/var/run/docker.sock:ro
|
||||||
|
environment:
|
||||||
|
HOMEPAGE_ALLOWED_HOSTS: home.linkwu.de
|
||||||
|
PUID: "1000"
|
||||||
|
PGID: "1000"
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
restart: unless-stopped
|
||||||
|
cap_add:
|
||||||
|
- CHOWN
|
||||||
|
- SETGID
|
||||||
|
- SETUID
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: "0.5"
|
||||||
|
memory: 1G
|
||||||
|
reservations:
|
||||||
|
cpus: "0.1"
|
||||||
|
memory: 64M
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
+1
-1
@@ -10,7 +10,7 @@ DB_DATA_LOCATION=/srv/fast/immich/postgres
|
|||||||
TZ=Asia/Shanghai
|
TZ=Asia/Shanghai
|
||||||
|
|
||||||
# The Immich version to use. You can pin this to a specific version like "v2.1.0"
|
# The Immich version to use. You can pin this to a specific version like "v2.1.0"
|
||||||
IMMICH_VERSION=v3.3.3
|
IMMICH_VERSION=v3.3.5
|
||||||
|
|
||||||
# Connection secret for postgres. You should change it to a random password
|
# Connection secret for postgres. You should change it to a random password
|
||||||
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
|
# Please use only the characters `A-Za-z0-9`, without special characters or spaces
|
||||||
|
|||||||
@@ -0,0 +1,34 @@
|
|||||||
|
name: miyouqian
|
||||||
|
services:
|
||||||
|
miyouqian:
|
||||||
|
build:
|
||||||
|
context: ./upstream
|
||||||
|
dockerfile: docker/Dockerfile
|
||||||
|
container_name: miyouqian
|
||||||
|
volumes:
|
||||||
|
- /srv/data/miyouqian:/app/state
|
||||||
|
environment:
|
||||||
|
TZ: Asia/Shanghai
|
||||||
|
networks:
|
||||||
|
- proxy
|
||||||
|
restart: unless-stopped
|
||||||
|
cap_drop:
|
||||||
|
- ALL
|
||||||
|
deploy:
|
||||||
|
resources:
|
||||||
|
limits:
|
||||||
|
cpus: "0.5"
|
||||||
|
memory: 256M
|
||||||
|
reservations:
|
||||||
|
cpus: "0.1"
|
||||||
|
memory: 64M
|
||||||
|
init: true
|
||||||
|
read_only: true
|
||||||
|
security_opt:
|
||||||
|
- no-new-privileges:true
|
||||||
|
tmpfs:
|
||||||
|
- /tmp
|
||||||
|
|
||||||
|
networks:
|
||||||
|
proxy:
|
||||||
|
external: true
|
||||||
Submodule
+1
Submodule miyouqian/upstream added at e06cf1017a.
Reference in new issue
Block a user