diff --git a/docker-compose.dev.yml b/docker-compose.dev.yml index 8ef9fe8be..7ad3fe94f 100644 --- a/docker-compose.dev.yml +++ b/docker-compose.dev.yml @@ -8,6 +8,9 @@ services: - "127.0.0.1:3306:3306" # MariaDB - "127.0.0.1:6025:6025" # Centrifugo - "127.0.0.1:6379:6379" # Redis + environment: + VAR_DUMPER_FORMAT: server + VAR_DUMPER_SERVER: host.docker.internal:9912 volumes: - $PWD/util/local_ssl/default.crt:/var/azuracast/storage/acme/ssl.crt:ro - $PWD/util/local_ssl/default.key:/var/azuracast/storage/acme/ssl.key:ro diff --git a/docker.sh b/docker.sh index 1dc20e48f..2f2d1ed86 100755 --- a/docker.sh +++ b/docker.sh @@ -536,15 +536,11 @@ install-dev() { .env --file .env set AZURACAST_PODMAN_MODE=true fi - chmod 777 ./frontend/ ./web/ ./vendor/ \ - ./web/static/ ./web/static/api/ \ - ./web/static/dist/ ./web/static/img/ + chmod 777 ./vendor/ ./web/static/ dc build dc run --rm web -- azuracast_install "$@" - - dc -p azuracast_frontend -f docker-compose.frontend.yml build - dc -p azuracast_frontend -f docker-compose.frontend.yml run --rm frontend npm run build + dc run -w /var/azuracast/www/frontend --rm web -- npm run build dc up -d exit