Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

postgres integration with rundeck #126

Merged
merged 2 commits into from
May 7, 2018
Merged

postgres integration with rundeck #126

merged 2 commits into from
May 7, 2018

Conversation

evolv34
Copy link

@evolv34 evolv34 commented Apr 14, 2018

Postgres integration with rundeck.

@evolv34 evolv34 mentioned this pull request Apr 14, 2018
@evolv34 evolv34 closed this Apr 15, 2018
@evolv34 evolv34 reopened this Apr 15, 2018
@evolv34
Copy link
Author

evolv34 commented Apr 28, 2018

version: '2.1'

services: 
  rundeck:
      image: <rundeck image name>
      hostname: rundeck
      healthcheck:
        test: ["CMD", "curl", "-f", "http://localhost:4440/menu/home"]
        interval: 50s
        timeout: 30s
        retries: 3
      depends_on:
        postgres:
          condition: service_healthy
      links:
        - postgres:postgres
      ports:
        - "4441:4440"
      environment:
        EXTERNAL_SERVER_URL: http://localhost:4440
        SKIP_DATABASE_SETUP: "false"
        NO_LOCAL_MYSQL: "true"
        DATABASE_DRIVER: org.postgresql.Driver
        DATABASE_URL: jdbc:postgresql://postgres/rundeckdb
        DATABASE_ADMIN_USER: admin
        RUNDECK_PASSWORD: admin
        RUNDECK_STORAGE_PROVIDER: db


  postgres:
    image: postgres
    hostname: postgres
    healthcheck:
      test: ["CMD-SHELL", "pg_isready -U postgres"]
      interval: 30s
      timeout: 30s
      retries: 3
    ports:
      - '5433:5432'
    # volumes:
    #   - ./test-data/:/var/lib/postgresql/data
    environment:
      POSTGRES_USER: 'admin'
      POSTGRES_PASSWORD: 'admin'
      POSTGRES_DB: 'postgres'

I used this yml file for testing. hope its helpful.

@jjethwa
Copy link
Owner

jjethwa commented Apr 30, 2018

Hi @evolv34

I'm back! Just give me a few days to review and test. Really appreciate it! 😄

@evolv34
Copy link
Author

evolv34 commented May 7, 2018

hi @jjethwa ,
any update on this PR ?

Thanks.

@jjethwa
Copy link
Owner

jjethwa commented May 7, 2018

Hi @evolv34

Sorry, took me a bit longer to get things tested. I'm going to merge now so it's available in under the latest tag for further testing by users that use that tag. Really appreciate your PR 😄

@jjethwa jjethwa merged commit abc200b into jjethwa:master May 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants