Dockerfile for Rundeck on AWS
If you don't set the env, Rundeck use the default env.
TZ: Asia/Tokyo
RUNDECK_PORT: 4440
RUNDECK_URL:
# MySQL
RUNDECK_MYSQL_HOST:
RUNDECK_MYSQL_DATABASE: rundeck
RUNDECK_MYSQL_USERNAME: rundeck
RUNDECK_MYSQL_PASSWORD: rundeck
# Rundeck EC2 Nodes Plugin
AWS_ACCESS_KEY_ID:
AWS_SECRET_ACCESS_KEY:
# Rundeck S3 Log Storage Plugin
AWS_SECRET_KEY:
RUNDECK_S3_BUCKET:
RUNDECK_S3_REGION: ap-northeast-1
$ docker run -d -p 4440:4440 \
-e "RUNDECK_URL=https://rundeck.example.com" \
-e "RUNDECK_S3_BUCKET=rundeck-example" \
-e "RUNDECK_MYSQL_HOST=example.ap-northeast-1.rds.amazonaws.com" \
-t intimatemerger/rundeck:latest
Example docker-compose.yml for rundeck:
rundeck:
image: intimatemerger/rundeck
links:
- db:rundeck_db
ports:
- 4440:4440
environment:
RUNDECK_URL: http://localhost:4440
RUNDECK_MYSQL_HOST: rundeck_db
db:
image: mariadb
environment:
MYSQL_ROOT_PASSWORD: example
MYSQL_DATABASE: rundeck
MYSQL_USER: rundeck
MYSQL_PASSWORD: rundeck