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

How did i run it? #1

Open
florian-asche opened this issue Dec 2, 2022 · 0 comments
Open

How did i run it? #1

florian-asche opened this issue Dec 2, 2022 · 0 comments

Comments

@florian-asche
Copy link
Owner

I did run it with this compose file:

version: '3.4'

networks:
  internal:
    external:
      name: atlantis-dockernetwork

services:
    rundeck:
        image: florian9931/rundeck-ansible:4.8.0
        links:
          - postgres
        environment:
            RUNDECK_DATABASE_DRIVER: org.postgresql.Driver
            RUNDECK_DATABASE_USERNAME: rundeck
            RUNDECK_DATABASE_PASSWORD: rundeck
            RUNDECK_DATABASE_URL: jdbc:postgresql://postgres/rundeck?autoReconnect=true&useSSL=false&allowPublicKeyRetrieval=true
            RUNDECK_GRAILS_URL: http://192.168.0.4:4440
            #RUNDECK_SERVER_FORWARDED: 'true'
            # GRAILS = URL TO SYSTEM
        volumes:
          - ${RUNDECK_LICENSE_FILE:-/dev/null}:/home/rundeck/etc/rundeckpro-license.key
          - rundeck_data:/home/rundeck/server/data
          - rundeck_projects:/home/rundeck/projects
        ports:
          - 4440:4440
    vscodeserver:
        image: linuxserver/code-server:latest
        environment:
          - PUID=1500
          - PGID=1500
          - TZ=Europe/Berlin
          - PASSWORD=password #optional
          - HASHED_PASSWORD= #optional
          #- SUDO_PASSWORD=password #optional
          #- SUDO_PASSWORD_HASH= #optional
          #- PROXY_DOMAIN=code-server.my.domain #optional
          - DEFAULT_WORKSPACE=/config/workspace #optional
        volumes:
          - rundeck_projects:/config
        ports:
          - 8443:8443
        restart: unless-stopped

    ansible:
        image: florian9931/ansible-ssh:latest
        #links:
        #  - rundeck
        #environment:
        volumes:
          - ansible_ssh:/home/ansible/.ssh/
        networks:
          - internal
        ports:
          - "12022:22"
    postgres:
        image: postgres
        expose:
          - 5432
        environment:
          - POSTGRES_DB=rundeck
          - POSTGRES_USER=rundeck
          - POSTGRES_PASSWORD=rundeck
        volumes:
          - dbdata:/var/lib/postgresql/data

volumes:
    dbdata:
    ansible_ssh:
    rundeck_data:
    rundeck_projects: 

But sadly i came a across this bug: rundeck-plugins/ansible-plugin#298
The needed ansible rundeck plugin is not capable to use ssh keys with a password. Since i am focused on security in this project i wont continue from here on.

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

No branches or pull requests

1 participant