Skip to content

Commit

Permalink
add rundeck
Browse files Browse the repository at this point in the history
  • Loading branch information
chendelin1982 authored Dec 2, 2023
1 parent 9c085e0 commit 4dd5d95
Show file tree
Hide file tree
Showing 5 changed files with 98 additions and 0 deletions.
27 changes: 27 additions & 0 deletions apps/rundeck/.env
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
W9_REPO=rundeck/rundeck
W9_DIST=community
W9_VERSION=4.17.3

W9_POWER_PASSWORD=1PrMxExC45LsCT

W9_HTTP_PORT_SET=4440
#### -- Not allowed to edit below environments when recreate app based on existing data -- ####

W9_ID=rundeck
W9_HTTP_PORT=4440
W9_USER=admin
W9_PASSWORD=admin

W9_DB_EXPOSE="mysql"
W9_URL=InternetIP
W9_URL_REPLACE=true

W9_NETWORK=websoft9

#### ----------------------------------------------------------------------------------------- ####

RUNDECK_DATABASE_DRIVER=org.mariadb.jdbc.Driver
RUNDECK_DATABASE_USERNAME=$W9_ID
RUNDECK_DATABASE_PASSWORD=$W9_POWER_PASSWORD
RUNDECK_DATABASE_URL=jdbc:$W9_ID-mysql://mysql/rundeck?autoReconnect=true&useSSL=false
RUNDECK_GRAILS_URL=$W9_URL:4440
5 changes: 5 additions & 0 deletions apps/rundeck/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# CHANGELOG

## Release
### Fixes and Enhancements

9 changes: 9 additions & 0 deletions apps/rundeck/Notes.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
# Rundesk

It can running, but have below problem:

- Is there environment for Rundesk administrator password?
- Is there have runner for Rundesk opensource?
- When login sucesss, the URL redirect http://IP:9098/IP:9098/menu/home

## FAQ
39 changes: 39 additions & 0 deletions apps/rundeck/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# image,docs: https://hub.docker.com/_/wordpress/

version: '3.8'

services:

rundeck:
image: $W9_REPO:$W9_VERSION
container_name: $W9_ID
restart: unless-stopped
ports:
- $W9_HTTP_PORT_SET:4440
env_file: .env
links:
- mysql
volumes:
- rundeck:/home/rundeck/server/data

mysql:
image: mysql:5.7
container_name: $W9_ID-mysql
restart: unless-stopped
command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci --innodb_log_buffer_size=30M
volumes:
- mysql:/var/lib/mysql
environment:
MYSQL_DATABASE: $W9_ID
MYSQL_USER: $W9_ID
MYSQL_PASSWORD: $W9_POWER_PASSWORD
MYSQL_ROOT_PASSWORD: $W9_POWER_PASSWORD

volumes:
rundeck:
mysql:

networks:
default:
name: $W9_NETWORK
external: true
18 changes: 18 additions & 0 deletions apps/rundeck/variables.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "Rundeck",
"trademark": "rundeck",
"release": true,
"fork_url": "https://github.com/rundeck/docker-zoo",
"edition": [
{
"dist": "community",
"version": ["4.17.3","SNAPSHOT"]
}
],
"requirements": {
"cpu": "1",
"memory": "2",
"disk": "1",
"url": "https://docs.rundeck.com/docs/administration/install/system-requirements.html"
}
}

0 comments on commit 4dd5d95

Please sign in to comment.