mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
development environment
This commit is contained in:
parent
356fb8e156
commit
971f98f816
1 changed files with 4 additions and 0 deletions
|
@ -48,6 +48,7 @@ deploy:
|
||||||
- secure
|
- secure
|
||||||
rules:
|
rules:
|
||||||
- if: $CI_COMMIT_BRANCH == "docker-deploy"
|
- if: $CI_COMMIT_BRANCH == "docker-deploy"
|
||||||
|
when: manual
|
||||||
variables:
|
variables:
|
||||||
FASTAPI_BACKEND: gunicorn
|
FASTAPI_BACKEND: gunicorn
|
||||||
FASTAPI_WORKERS: 5
|
FASTAPI_WORKERS: 5
|
||||||
|
@ -63,3 +64,6 @@ deploy:
|
||||||
- export DOCKER_HOST="unix:///tmp/docker.sock"
|
- export DOCKER_HOST="unix:///tmp/docker.sock"
|
||||||
- docker-compose build
|
- docker-compose build
|
||||||
- docker-compose -f docker-compose.yml -f docker-compose.aur-dev.yml up -d
|
- docker-compose -f docker-compose.yml -f docker-compose.aur-dev.yml up -d
|
||||||
|
environment:
|
||||||
|
name: development
|
||||||
|
url: https://aur-dev.archlinux.org
|
||||||
|
|
Loading…
Add table
Reference in a new issue