Update some dev stuff.

This commit is contained in:
Buster Neece 2024-01-08 09:49:33 -06:00
parent 8bda7bbb8a
commit 223606a1e1
No known key found for this signature in database
2 changed files with 5 additions and 6 deletions

View File

@ -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

View File

@ -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