Skip to content
Snippets Groups Projects
Commit 3c65e225 authored by Dominik Hebeler's avatar Dominik Hebeler
Browse files

compose file works now under windows

parent 008fc54f
No related branches found
No related tags found
2 merge requests!1574Development,!1573Resolve "New Captcha Texts"
......@@ -14,11 +14,11 @@ services:
dependencies:
depends_on:
- "mgdb"
image: php:7.3-cli
image: php:7.3-cli-alpine
volumes:
- .:/data
working_dir: /data
command: /data/init.sh
command: /bin/sh -c "apk add --update dos2unix && dos2unix ./init.sh && ./init.sh && ./init.sh"
mgdb:
restart: on-failure
image: mariadb:latest
......
......@@ -12,6 +12,10 @@ if [ -f "/data/database/useragents.sqlite" ]; then
rm /data/database/useragents.sqlite
fi
if [ ! -d "/data/storage/logs/metager" ]; then
mkdir -p /data/storage/logs/metager
fi
touch /data/database/useragents.sqlite
chmod -R go+w storage bootstrap/cache
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment