Skip to content

Commit d0c2648

Browse files
homerrhomerr
authored andcommitted
fixed paths
1 parent 8cf0282 commit d0c2648

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,3 +41,4 @@ $RECYCLE.BIN/
4141
Network Trash Folder
4242
Temporary Items
4343
.apdisk
44+
docker-compose.yml

root/etc/cont-init.d/50-config

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,17 +2,19 @@
22

33
# create directory structure
44
mkdir -p \
5-
/config/www/{html,uploads,files,images}
5+
/config/www/{uploads,files,images}
66

77
# check for .env and copy default if needed
8-
[[ ! -f "/config/.env" ]] && \
9-
cp /var/www/html/.env.example /config/www/html/.env
8+
[[ ! -f "/config/www/.env" ]] && \
9+
cp /var/www/html/.env.example /config/www/.env
1010

1111
# create symlinks
1212
symlinks=( \
1313
/var/www/html/storage/uploads/files \
1414
/var/www/html/storage/uploads/images \
15-
/var/www/html/public/uploads )
15+
/var/www/html/public/uploads \
16+
/var/www/html/.env
17+
)
1618

1719
for i in "${symlinks[@]}"
1820
do

0 commit comments

Comments
 (0)