Skip to content

Commit

Permalink
refactor(ddns): upgrade ddns-updater configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
borjapazr committed Jan 23, 2024
1 parent e58b467 commit abe4dcd
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 9 deletions.
24 changes: 17 additions & 7 deletions services/ddns-updater/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,20 +8,30 @@ services:
container_name: ddns-updater
restart: always
environment:
# Public IP Scanner
- PERIOD=5m
- UPDATE_COOLDOWN_PERIOD=5m
- IP_METHOD=cycle
- IPV4_METHOD=cycle
- IPV6_METHOD=cycle
- HTTP_TIMEOUT=10s
- LISTENING_PORT=8080
- PUBLICIP_FETCHERS=all
- PUBLICIP_HTTP_PROVIDERS=all
- PUBLICIPV4_HTTP_PROVIDERS=all
- PUBLICIPV6_HTTP_PROVIDERS=all
- PUBLICIP_DNS_PROVIDERS=all
- PUBLICIP_DNS_TIMEOUT=3s
# Web UI
- LISTENING_ADDRESS=:8080
- ROOT_URL=/
# Data
- DATADIR=/updater/data
# Backup
- BACKUP_PERIOD=0
- BACKUP_DIRECTORY=/updater/data
- LOG_ENCODING=console
# Logger
- LOG_LEVEL=info
- GOTIFY_URL=${GOTIFY_ENDPOINT}
- GOTIFY_TOKEN=${GOTIFY_TOKEN}
- LOG_CALLER=hidden
# Notifications
- SHOUTRRR_ADDRESSES=gotify://${GOTIFY_ENDPOINT}/${GOTIFY_TOKEN}
# Timezone
- TZ=${TZ}
volumes:
- ./data:/updater/data
Expand Down
4 changes: 2 additions & 2 deletions services/moodle/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ version: "3.7"
services:
### Moodle database: MariaDB ###
moodle-mariadb:
image: mariadb
image: mariadb:10.10
container_name: moodle-mariadb
restart: always
command: --transaction-isolation=READ-COMMITTED --binlog-format=ROW
Expand All @@ -16,7 +16,7 @@ services:
- ${VOLUME_DIR}/moodle-db:/var/lib/mysql
## Moodle: A very popular open source learning management solution (LMS) for the delivery of elearning courses and programs. ##
moodle:
image: bitnami/moodle
image: bitnami/moodle:4.3.0
container_name: moodle
restart: always
depends_on:
Expand Down

0 comments on commit abe4dcd

Please sign in to comment.