Gitpod polish.

This commit is contained in:
Buster "Silver Eagle" Neece 2021-09-23 21:13:21 -05:00
parent 8321362b8a
commit 079d4dcabf
No known key found for this signature in database
GPG Key ID: 6D9E12FF03411F4E
3 changed files with 47 additions and 2 deletions

View File

@ -2,10 +2,15 @@ github :
prebuilds :
addCheck : false
vscode :
extensions :
- bmewburn.vscode-intelephense-client
- editorconfig.editorconfig
tasks :
- name : Docker Build
init : |
yes '' | bash docker.sh install-dev
make install-gitpod
gp sync-done docker-build
command : |
make up
@ -13,6 +18,8 @@ tasks :
- name : Static Service
openMode : split-right
command :
init : |
gp sync-await docker-build
make frontend-build
command : |
make frontend-bash

View File

@ -3,6 +3,15 @@
list:
@LC_ALL=C $(MAKE) -pRrq -f $(lastword $(MAKEFILE_LIST)) : 2>/dev/null | awk -v RS= -F: '/^# File/,/^# Finished Make data base/ {if ($$1 !~ "^[#.]") {print $$1}}' | sort | egrep -v -e '^[^[:alnum:]]' -e '^$@$$'
install-gitpod:
cp docker-compose.sample.yml docker-compose.yml
cp docker-compose.gitpod.yml docker-compose.override.yml
cp dev.env .env
cp azuracast.dev.env azuracast.env
docker-compose build
docker-compose run --rm --user="azuracast" web azuracast_install "$@"
up:
docker-compose up -d

29
docker-compose.gitpod.yml Normal file
View File

@ -0,0 +1,29 @@
services :
nginx_proxy :
volumes :
- ./util/local_ssl:/etc/nginx/certs
- /var/run/docker.sock:/tmp/docker.sock:ro
nginx_proxy_letsencrypt :
volumes :
- /var/run/docker.sock:/tmp/docker.sock:ro
web :
build :
context : .
volumes :
- ./util/local_ssl:/etc/nginx/certs:ro
- ./vendor:/var/azuracast/www/vendor
- .:/var/azuracast/www
mariadb :
ports :
- "127.0.0.1:3306:3306"
redis :
ports :
- "127.0.0.1:6379:6379"
stations :
volumes :
- ./util/local_ssl:/etc/nginx/certs