update
This commit is contained in:
18
.github/workflows/docker-image.yml
vendored
18
.github/workflows/docker-image.yml
vendored
@@ -1,18 +0,0 @@
|
|||||||
name: Docker Image CI
|
|
||||||
|
|
||||||
on:
|
|
||||||
push:
|
|
||||||
branches: [ "main" ]
|
|
||||||
pull_request:
|
|
||||||
branches: [ "main" ]
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
|
|
||||||
build:
|
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- uses: actions/checkout@v4
|
|
||||||
- name: Build the Docker image
|
|
||||||
run: docker build . --file container/Dockerfile --tag saya-search:$(date +%s)
|
|
||||||
13
liara.json
13
liara.json
@@ -1,13 +0,0 @@
|
|||||||
{
|
|
||||||
"app": "saya",
|
|
||||||
"port": 8080,
|
|
||||||
"build": {
|
|
||||||
"location": "iran"
|
|
||||||
},
|
|
||||||
"disks": [
|
|
||||||
{
|
|
||||||
"name": "saya-search",
|
|
||||||
"mountTo": "/saya-search"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
@@ -3,7 +3,7 @@
|
|||||||
# * uncomment SEARXNG_HOSTNAME, and replace <host> by the SearXNG hostname
|
# * uncomment SEARXNG_HOSTNAME, and replace <host> by the SearXNG hostname
|
||||||
# * uncomment LETSENCRYPT_EMAIL, and replace <email> by your email (require to create a Let's Encrypt certificate)
|
# * uncomment LETSENCRYPT_EMAIL, and replace <email> by your email (require to create a Let's Encrypt certificate)
|
||||||
|
|
||||||
SEARXNG_HOSTNAME=https://saya.liara.run
|
# SEARXNG_HOSTNAME=<host>
|
||||||
# LETSENCRYPT_EMAIL=<email>
|
# LETSENCRYPT_EMAIL=<email>
|
||||||
|
|
||||||
# Optional:
|
# Optional:
|
||||||
|
|||||||
@@ -42,7 +42,7 @@ services:
|
|||||||
networks:
|
networks:
|
||||||
- searxng
|
- searxng
|
||||||
ports:
|
ports:
|
||||||
- "127.0.0.1:8080:8080"
|
- "8080:8080"
|
||||||
volumes:
|
volumes:
|
||||||
- ./searxng:/etc/searxng:rw
|
- ./searxng:/etc/searxng:rw
|
||||||
environment:
|
environment:
|
||||||
|
|||||||
Reference in New Issue
Block a user