Compare commits
6 commits
Author | SHA1 | Date | |
---|---|---|---|
4d11512d8d | |||
69ceb5ccba | |||
2387780492 | |||
04b55a8c05 | |||
acd8a0e93e | |||
740c09ce6d |
6 changed files with 36 additions and 4 deletions
30
.drone.yml
Normal file
30
.drone.yml
Normal file
|
@ -0,0 +1,30 @@
|
|||
---
|
||||
kind: secret
|
||||
name: local_username
|
||||
get:
|
||||
path: local
|
||||
name: username
|
||||
---
|
||||
kind: secret
|
||||
name: local_password
|
||||
get:
|
||||
path: local
|
||||
name: password
|
||||
---
|
||||
kind: pipeline
|
||||
type: kubernetes
|
||||
name: build
|
||||
steps:
|
||||
- name: kaniko
|
||||
image: docker.io/plugins/kaniko:latest
|
||||
pull: always
|
||||
settings:
|
||||
repo: r.ocj.io/gis/umap
|
||||
registry: r.ocj.io
|
||||
tags:
|
||||
- "latest"
|
||||
- "umap-${DRONE_BUILD_NUMBER}-${DRONE_COMMIT_SHA:0:8}"
|
||||
username:
|
||||
from_secret: local_username
|
||||
password:
|
||||
from_secret: local_password
|
|
@ -1,4 +1,4 @@
|
|||
FROM node:alpine AS vendors
|
||||
FROM docker.io/library/node:alpine AS vendors
|
||||
|
||||
RUN apk add git
|
||||
|
||||
|
@ -13,7 +13,7 @@ COPY . .
|
|||
RUN npm run vendors
|
||||
|
||||
# This part installs deps needed at runtime.
|
||||
FROM python:3.11-slim as common
|
||||
FROM docker.io/library/python:3.11-slim as common
|
||||
|
||||
RUN apt-get update && \
|
||||
apt-get install -y --no-install-recommends \
|
||||
|
|
|
@ -7,6 +7,6 @@ vacuum = True
|
|||
max-requests = 5000
|
||||
processes = 4
|
||||
enable-threads = true
|
||||
static-map = /static=/srv/umap/static
|
||||
static-map = /static=/srv/umap/umap/static
|
||||
static-map = /uploads=/srv/umap/uploads
|
||||
buffer-size = 32768
|
||||
|
|
BIN
umap/static/umap/authentik.png
Normal file
BIN
umap/static/umap/authentik.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 13 KiB |
|
@ -65,7 +65,9 @@ body.login header {
|
|||
.login-grid .login-openstreetmap-oauth2 {
|
||||
background-image: url("./openstreetmap.png");
|
||||
}
|
||||
|
||||
.login-grid .login-oidc {
|
||||
background-image: url("./authentik.png");
|
||||
}
|
||||
|
||||
/* **************************** */
|
||||
/* home */
|
||||
|
|
Binary file not shown.
Before Width: | Height: | Size: 19 KiB After Width: | Height: | Size: 13 KiB |
Loading…
Reference in a new issue