AWS Server setup with JIRA, Docker

I have an Amazon EC2 instance that I’d like to use as a development server for client projects as well as run JIRA. I have a domain pointed to the EC2 server IP. I’m new to docker so unsure if my approach is correct.

I’d like to have a JIRA container installed (with another jiradb MYSQL container) running at as well as the potential to host client staging websites at which point to the client’s docker containers.

  • Upgrading Docker in Amazon linux AMI to 1.11.1
  • Create AWS::ECR::Repository resource by Cloudformation
  • Can't push image to Amazon ECR - fails with “no basic auth credentials”
  • Enterprise Apps with Docker and Elastic Beanstalk
  • AWS Elastic Beanstalk VPC - HTTPS from ELB to instance
  • How can I run a Docker container in AWS Elastic Beanstalk with non-default run parameters?
  • I’ve been trying to use This JIRA docker image using the provided command

    docker run --detach --publish 8080:8080 cptactionhank/atlassian-jira:latest

    but the container always stops running mid setup (set up takes a while in-between steps). When I run the container again it goes back to the start of setup.

    Once I have JIRA set up how would I run it under a subdomain? And how could I then have point to a separate docker container?

    Thanks in advance!

  • Spring Cloud service Look up error: Load balancer does not have available server for client
  • Join SwarmKit cluster with predefined token?
  • Using remote byebug instance with docker-compose
  • Where is the time spent starting a docker image?
  • Django in Docker using PyCharm
  • Access hosts zfs from docker container
  • One Solution collect form web for “AWS Server setup with JIRA, Docker”

    As you probably know there’s two considerations for getting Jira setup, whether as server or container:

    1. You need to enter a license key early in the setup process (and it requires an Internet connection for verification), even if it’s an evaluation
    2. By default Jira will use its built-in (H2, IIRC) database, unless you configure an external one

    So, in the case of 2) you probably want to make sure you have your external database ready and set up.

    See Connecting Jira applications to external databases for preparatory steps for a variety of databases.

    You didn’t mention at what stage your first setup run fails, however once you’ve gotten past step 1) or any further successful setup, one of the first things I did, so as not to lose all work I’d done, was to commit the container!

    docker commit -a 'My Name' -m 'Jira configured and set up' <container ID> myrepo/myjira:mytag

    That way you don’t lose all your previous work and you save your container into a new image in one fell swoop.

    Docker will be the best open platform for developers and sysadmins to build, ship, and run distributed applications.