Compare commits

...

6 commits

Author SHA1 Message Date
4d11512d8d
fix static path
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-27 14:02:23 -05:00
69ceb5ccba
add icon for authentik
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-27 13:52:31 -05:00
2387780492
fix
All checks were successful
continuous-integration/drone/push Build is passing
2024-05-27 13:09:49 -05:00
04b55a8c05
update
Some checks failed
continuous-integration/drone/push Build is failing
2024-05-27 13:08:57 -05:00
acd8a0e93e
update build
Some checks failed
continuous-integration/drone/push Build is failing
2024-05-27 13:07:48 -05:00
740c09ce6d
add icon for authentik 2024-05-27 13:00:00 -05:00
6 changed files with 36 additions and 4 deletions

30
.drone.yml Normal file
View 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

View file

@ -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 \

View file

@ -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

Binary file not shown.

After

Width:  |  Height:  |  Size: 13 KiB

View file

@ -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