mirror of
https://github.com/dotFionn/iassure-wx.git
synced 2026-03-16 12:32:56 -05:00
This commit is contained in:
37
.drone.yml
37
.drone.yml
@@ -3,12 +3,12 @@ type: docker
|
|||||||
name: build dev
|
name: build dev
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build and push image
|
- name: build for staging
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
registry: git.fsisp.de
|
registry: hub.fsisp.de
|
||||||
repo: git.fsisp.de/fionn/iassure-wx
|
repo: hub.fsisp.de/library/iassure-wx
|
||||||
username:
|
username:
|
||||||
from_secret: reg_username
|
from_secret: reg_username
|
||||||
password:
|
password:
|
||||||
@@ -16,32 +16,27 @@ steps:
|
|||||||
tags:
|
tags:
|
||||||
- dev
|
- dev
|
||||||
- '${DRONE_COMMIT:0:8}'
|
- '${DRONE_COMMIT:0:8}'
|
||||||
|
when:
|
||||||
|
branch:
|
||||||
|
- dev
|
||||||
|
- develop
|
||||||
|
event:
|
||||||
|
- push
|
||||||
|
|
||||||
trigger:
|
- name: build for production
|
||||||
branch:
|
|
||||||
- dev
|
|
||||||
- develop
|
|
||||||
|
|
||||||
---
|
|
||||||
kind: pipeline
|
|
||||||
type: docker
|
|
||||||
name: build master
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: build and push image
|
|
||||||
image: plugins/docker
|
image: plugins/docker
|
||||||
settings:
|
settings:
|
||||||
dockerfile: Dockerfile
|
dockerfile: Dockerfile
|
||||||
registry: git.fsisp.de
|
registry: hub.fsisp.de
|
||||||
repo: git.fsisp.de/fionn/iassure-wx
|
repo: hub.fsisp.de/library/iassure-wx
|
||||||
username:
|
username:
|
||||||
from_secret: reg_username
|
from_secret: reg_username
|
||||||
password:
|
password:
|
||||||
from_secret: reg_password
|
from_secret: reg_password
|
||||||
tags:
|
tags:
|
||||||
- latest
|
- latest
|
||||||
|
- '${DRONE_TAG}'
|
||||||
- '${DRONE_COMMIT:0:8}'
|
- '${DRONE_COMMIT:0:8}'
|
||||||
|
when:
|
||||||
trigger:
|
event:
|
||||||
branch:
|
- tag
|
||||||
- main
|
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ This service is designed to gather weather data to be used by [IASsure](https://
|
|||||||
|
|
||||||
## Installation/Deployment
|
## Installation/Deployment
|
||||||
|
|
||||||
IASsure-WX can be installed using docker. The image is available at `git.fsisp.de/fionn/iassure-wx`.
|
IASsure-WX can be installed using docker. The image is available at `hub.fsisp.de/library/iassure-wx`.
|
||||||
|
|
||||||
Tags:
|
Tags:
|
||||||
- `latest` - The newest recommended build, built from `main`
|
- `latest` - The newest recommended build, built from `main`
|
||||||
@@ -29,6 +29,6 @@ BASE_PATH=/api
|
|||||||
# defines ips that are allowed as proxy ips
|
# defines ips that are allowed as proxy ips
|
||||||
# See http://expressjs.com/en/guide/behind-proxies.html
|
# See http://expressjs.com/en/guide/behind-proxies.html
|
||||||
TRUST_PROXY=
|
TRUST_PROXY=
|
||||||
# set to true to disable /api-Endpoint. will also diable frontend.
|
# set to true to disable /api-Endpoint. will also disable frontend.
|
||||||
DISABLE_DEFAULT_API_ENDPOINT=
|
DISABLE_DEFAULT_API_ENDPOINT=
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user