Compare commits
3 Commits
renovate/c
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
22f17e20e4 | ||
|
|
de0d71f881 | ||
|
|
69a29bb0ee |
@@ -1,4 +1,4 @@
|
|||||||
#CONFIG_FILE=/config.yaml
|
#CONFIG_FILE=/config.yaml
|
||||||
GITEA_INSTANCE_URL=git.example.org
|
GITEA_INSTANCE_URL=https://git.example.org
|
||||||
GITEA_RUNNER_REGISTRATION_TOKEN=abc
|
GITEA_RUNNER_REGISTRATION_TOKEN=abc
|
||||||
GITEA_RUNNER_NAME=runner1
|
GITEA_RUNNER_NAME=runner1
|
||||||
|
|||||||
@@ -1,29 +0,0 @@
|
|||||||
services:
|
|
||||||
db:
|
|
||||||
image: postgres:14
|
|
||||||
container_name: postgres
|
|
||||||
# ports:
|
|
||||||
# - 5433:5432
|
|
||||||
restart: unless-stopped
|
|
||||||
volumes:
|
|
||||||
- ./postgres:/var/lib/postgresql/data # Make database files persistent. Otherwise data is lost when the container is destroyed.
|
|
||||||
environment:
|
|
||||||
- APP_PORT=22300 # port joplin-server is reachable at
|
|
||||||
- POSTGRES_PASSWORD=mypassword123 # database password
|
|
||||||
- POSTGRES_USER=admin # database user
|
|
||||||
- POSTGRES_DB=joplin # database name
|
|
||||||
app:
|
|
||||||
image: joplin/server:latest
|
|
||||||
depends_on:
|
|
||||||
- db
|
|
||||||
ports:
|
|
||||||
- "50002:22300" # Expose internal port to LAN
|
|
||||||
restart: unless-stopped
|
|
||||||
environment:
|
|
||||||
- APP_BASE_URL=https://joplin.example.org
|
|
||||||
- DB_CLIENT=pg
|
|
||||||
- POSTGRES_PASSWORD=mypassword123
|
|
||||||
- POSTGRES_DATABASE=joplin
|
|
||||||
- POSTGRES_USER=admin
|
|
||||||
- POSTGRES_PORT=5432
|
|
||||||
- POSTGRES_HOST=db
|
|
||||||
@@ -1,3 +0,0 @@
|
|||||||
{
|
|
||||||
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
|
||||||
}
|
|
||||||
8
renovate/compose.yml
Normal file
8
renovate/compose.yml
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
name: renovate
|
||||||
|
services:
|
||||||
|
renovate:
|
||||||
|
image: renovate/renovate
|
||||||
|
volumes:
|
||||||
|
- ./config.js:/usr/src/app/config.js
|
||||||
|
environment:
|
||||||
|
- LOG_LEVEL=debug
|
||||||
10
renovate/config.example.js
Normal file
10
renovate/config.example.js
Normal file
@@ -0,0 +1,10 @@
|
|||||||
|
module.exports = {
|
||||||
|
platform: 'gitea',
|
||||||
|
endpoint: 'https://git.example.com/api/v1/',
|
||||||
|
token: '',
|
||||||
|
onboarding: true,
|
||||||
|
autodiscover: true,
|
||||||
|
configFileNames: [".gitea/renovate.json"]
|
||||||
|
|
||||||
|
};
|
||||||
|
|
||||||
Reference in New Issue
Block a user