mirror of
https://git.tt-rss.org/fox/ttrss-docker-compose
synced 2025-07-11 22:19:53 +02:00
split build-related stuff into src/
This commit is contained in:
parent
15caf46b66
commit
98d65cd865
11 changed files with 120 additions and 14 deletions
26
src/app/build-prepare.sh
Executable file
26
src/app/build-prepare.sh
Executable file
|
@ -0,0 +1,26 @@
|
|||
#!/bin/sh
|
||||
|
||||
DST_DIR=/src/tt-rss
|
||||
SRC_REPO=https://git.tt-rss.org/fox/tt-rss.git
|
||||
|
||||
if [ ! -d $DST_DIR ]; then
|
||||
mkdir -p $DST_DIR
|
||||
git clone $SRC_REPO $DST_DIR
|
||||
else
|
||||
cd $DST_DIR && \
|
||||
git config core.filemode false && \
|
||||
git pull origin master
|
||||
fi
|
||||
|
||||
if [ ! -d $DST_DIR/plugins.local/nginx_xaccel ]; then
|
||||
git clone https://git.tt-rss.org/fox/ttrss-nginx-xaccel.git $DST_DIR/plugins.local/nginx_xaccel
|
||||
else
|
||||
cd $DST_DIR/plugins.local/nginx_xaccel && \
|
||||
git config core.filemode false && \
|
||||
git pull origin master
|
||||
fi
|
||||
|
||||
mkdir -p /var/www
|
||||
addgroup -g $OWNER_GID app
|
||||
adduser -D -h /var/www/html -G app -u $OWNER_UID app
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue