Gitpod polish.
This commit is contained in:
parent
8321362b8a
commit
079d4dcabf
11
.gitpod.yml
11
.gitpod.yml
|
@ -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
|
||||
|
|
9
Makefile
9
Makefile
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue