Add native application verison: Source build, aur (makepkg) #1
@@ -1,4 +0,0 @@
|
||||
FROM nginx:alpine
|
||||
COPY proxy/nginx-site.conf /etc/nginx/conf.d/default.conf
|
||||
COPY . /usr/share/nginx/html
|
||||
HEALTHCHECK --interval=30s --timeout=3s --retries=3 CMD wget -qO- http://localhost/ > /dev/null || exit 1
|
||||
Binary file not shown.
@@ -1,38 +0,0 @@
|
||||
app-id: com.circlewithadot.Relibre
|
||||
runtime: org.gnome.Platform
|
||||
runtime-version: '47'
|
||||
sdk: org.gnome.Sdk
|
||||
|
||||
sdk-extensions:
|
||||
- org.freedesktop.Sdk.Extension.golang
|
||||
|
||||
build-options:
|
||||
append-path: /usr/lib/sdk/golang/bin
|
||||
env:
|
||||
GOPATH: /run/build/relibre/.gopath
|
||||
|
||||
command: relibre
|
||||
finish-args:
|
||||
- --share=network
|
||||
- --socket=wayland
|
||||
- --socket=fallback-x11
|
||||
- --filesystem=xdg-download
|
||||
|
||||
modules:
|
||||
- name: relibre
|
||||
buildsystem: simple
|
||||
build-commands:
|
||||
- go env -w CGO_ENABLED=1
|
||||
- |
|
||||
set -e
|
||||
files=$(grep -R -l 'webkit2gtk-4\.0' vendor || true)
|
||||
if [ -n "$files" ]; then
|
||||
sed -i 's/webkit2gtk-4\.0/webkit2gtk-4.1/g' $files
|
||||
fi
|
||||
- go build -mod=vendor -trimpath -ldflags "-s -w" -o /app/bin/relibre
|
||||
- if [ -f dist/com.circlewithadot.Relibre.desktop ]; then install -Dm644 dist/com.circlewithadot.Relibre.desktop /app/share/applications/com.circlewithadot.Relibre.desktop; fi
|
||||
- if [ -f dist/com.circlewithadot.Relibre.png ]; then install -Dm644 dist/com.circlewithadot.Relibre.png /app/share/icons/hicolor/512x512/apps/com.circlewithadot.Relibre.png; fi
|
||||
sources:
|
||||
- type: dir
|
||||
path: .
|
||||
|
||||
@@ -1,17 +0,0 @@
|
||||
services:
|
||||
web:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.web
|
||||
expose: ["80"]
|
||||
restart: unless-stopped
|
||||
|
||||
proxy:
|
||||
image: httpd:2.4-alpine
|
||||
volumes:
|
||||
- ./proxy/httpd.conf:/usr/local/apache2/conf/httpd.conf:ro
|
||||
ports:
|
||||
- "8080:80"
|
||||
depends_on:
|
||||
- web
|
||||
restart: unless-stopped
|
||||
@@ -1,17 +0,0 @@
|
||||
services:
|
||||
web:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.web
|
||||
expose: ["80"]
|
||||
restart: unless-stopped
|
||||
|
||||
proxy:
|
||||
image: caddy:alpine
|
||||
volumes:
|
||||
- ./proxy/Caddyfile:/etc/caddy/Caddyfile:ro
|
||||
ports:
|
||||
- "8080:80"
|
||||
depends_on:
|
||||
- web
|
||||
restart: unless-stopped
|
||||
@@ -1,17 +0,0 @@
|
||||
services:
|
||||
web:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.web
|
||||
expose: ["80"]
|
||||
restart: unless-stopped
|
||||
|
||||
proxy:
|
||||
image: haproxy:2.9
|
||||
volumes:
|
||||
- ./proxy/haproxy.cfg:/usr/local/etc/haproxy/haproxy.cfg:ro
|
||||
ports:
|
||||
- "8080:80"
|
||||
depends_on:
|
||||
- web
|
||||
restart: unless-stopped
|
||||
@@ -1,17 +0,0 @@
|
||||
services:
|
||||
web:
|
||||
build:
|
||||
context: .
|
||||
dockerfile: Dockerfile.web
|
||||
expose: ["80"]
|
||||
restart: unless-stopped
|
||||
|
||||
proxy:
|
||||
image: nginx:alpine
|
||||
volumes:
|
||||
- ./proxy/nginx-proxy.conf:/etc/nginx/conf.d/default.conf:ro
|
||||
ports:
|
||||
- "8080:80"
|
||||
depends_on:
|
||||
- web
|
||||
restart: unless-stopped
|
||||
Reference in New Issue
Block a user