Compare commits
1 Commits
master
...
renovate/c
| Author | SHA1 | Date | |
|---|---|---|---|
| c97c147d1a |
@@ -1,4 +1,4 @@
|
|||||||
#CONFIG_FILE=/config.yaml
|
#CONFIG_FILE=/config.yaml
|
||||||
GITEA_INSTANCE_URL=https://git.example.org
|
GITEA_INSTANCE_URL=git.example.org
|
||||||
GITEA_RUNNER_REGISTRATION_TOKEN=abc
|
GITEA_RUNNER_REGISTRATION_TOKEN=abc
|
||||||
GITEA_RUNNER_NAME=runner1
|
GITEA_RUNNER_NAME=runner1
|
||||||
|
|||||||
29
joplin/docker-compose.yml
Normal file
29
joplin/docker-compose.yml
Normal file
@@ -0,0 +1,29 @@
|
|||||||
|
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
|
||||||
3
renovate.json
Normal file
3
renovate.json
Normal file
@@ -0,0 +1,3 @@
|
|||||||
|
{
|
||||||
|
"$schema": "https://docs.renovatebot.com/renovate-schema.json"
|
||||||
|
}
|
||||||
@@ -1,8 +0,0 @@
|
|||||||
name: renovate
|
|
||||||
services:
|
|
||||||
renovate:
|
|
||||||
image: renovate/renovate
|
|
||||||
volumes:
|
|
||||||
- ./config.js:/usr/src/app/config.js
|
|
||||||
environment:
|
|
||||||
- LOG_LEVEL=debug
|
|
||||||
@@ -1,10 +0,0 @@
|
|||||||
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