diff --git a/apps/rundeck/.env b/apps/rundeck/.env new file mode 100644 index 000000000..f262aec65 --- /dev/null +++ b/apps/rundeck/.env @@ -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 \ No newline at end of file diff --git a/apps/rundeck/CHANGELOG.md b/apps/rundeck/CHANGELOG.md new file mode 100644 index 000000000..582cf46c5 --- /dev/null +++ b/apps/rundeck/CHANGELOG.md @@ -0,0 +1,5 @@ +# CHANGELOG + +## Release +### Fixes and Enhancements + diff --git a/apps/rundeck/Notes.md b/apps/rundeck/Notes.md new file mode 100644 index 000000000..185da70c6 --- /dev/null +++ b/apps/rundeck/Notes.md @@ -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 diff --git a/apps/rundeck/docker-compose.yml b/apps/rundeck/docker-compose.yml new file mode 100644 index 000000000..69acd685b --- /dev/null +++ b/apps/rundeck/docker-compose.yml @@ -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 diff --git a/apps/rundeck/variables.json b/apps/rundeck/variables.json new file mode 100644 index 000000000..0cb4e65bc --- /dev/null +++ b/apps/rundeck/variables.json @@ -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" + } +}