HI I was wondering if someone could shed some light,
Currently trying to install with docker compose this is what i have so far
version: ‘3.8’
services:
dradis:
image: dradis/dradis-ce
ports:
- "3000:3000"
volumes:
- dradis_data:/dradis
volumes:
dradis_data:
but when i try to go the webGUI it keeps saying on the logs
dradis-dradis-1 | Started GET "/" for 192.168.7.199 at 2024-06-20 04:40:26 +0000
dradis-dradis-1 | Cannot render console from 192.168.7.199! Allowed networks: 127.0.0.0/127.255.255.255, ::1
dradis-dradis-1 | Processing by Setup::PasswordsController#new as HTML
@killmasta93 I’m Rachael with the Dradis support team. Are you able to run Dradis CE with Docker? GitHub - dradis/dradis-ce: Dradis Framework: Collaboration and reporting for IT Security teams . I have not used Docker Compose myself so I wanted to start by narrowing down the source of the issue.
1 Like
etd
June 21, 2024, 8:41am
3
This compose.yml did the trick for me:
services:
dradis:
image: dradis/dradis-ce
ports:
- "3000:3000"
volumes:
- /tmp/dradis:/app
An excerpt from the log:
dradis-1 | * Listening on http://0.0.0.0:3000
dradis-1 | Use Ctrl-C to stop
dradis-1 | Started GET "/" for 192.168.65.1 at 2024-06-21 08:39:25 +0000
dradis-1 | Cannot render console from 192.168.65.1! Allowed networks: 127.0.0.0/127.255.255.255, ::1
dradis-1 | ActiveRecord::SchemaMigration Pluck (0.5ms) SELECT "schema_migrations"."version" FROM "schema_migrations" ORDER BY "schema_migrations"."version" ASC
dradis-1 | Processing by Setup::PasswordsController#new as HTML
dradis-1 | Configuration Load (0.2ms) SELECT "configurations".* FROM "configurations" WHERE "configurations"."name" = ? LIMIT ? [["name", "admin:password"], ["LIMIT", 1]]
dradis-1 | ↳ app/models/configuration.rb:34:in `shared_password'
dradis-1 | TRANSACTION (0.1ms) begin transaction
dradis-1 | ↳ app/models/configuration.rb:34:in `shared_password'
dradis-1 | Configuration Exists? (0.1ms) SELECT 1 AS one FROM "configurations" WHERE "configurations"."name" = ? LIMIT ? [["name", "admin:password"], ["LIMIT", 1]]
dradis-1 | ↳ app/models/configuration.rb:34:in `shared_password'
dradis-1 | Configuration Create (0.2ms) INSERT INTO "configurations" ("name", "value", "created_at", "updated_at") VALUES (?, ?, ?, ?) [["name", "admin:password"], ["value", "improvable_dradis"], ["created_at", "2024-06-21 08:39:25.310387"], ["updated_at", "2024-06-21 08:39:25.310387"]]
dradis-1 | ↳ app/models/configuration.rb:34:in `shared_password'
dradis-1 | TRANSACTION (3.8ms) commit transaction
dradis-1 | ↳ app/models/configuration.rb:34:in `shared_password'
dradis-1 | Rendering layout layouts/setup.html.erb
dradis-1 | Rendering setup/passwords/new.html.erb within layouts/setup
dradis-1 | Rendered setup/_progress.html.erb (Duration: 0.8ms | Allocations: 355)
dradis-1 | Rendered setup/passwords/new.html.erb within layouts/setup (Duration: 5.7ms | Allocations: 2158)
dradis-1 | Rendered shared/_noscript.html.erb (Duration: 0.3ms | Allocations: 165)
dradis-1 | Rendered layout layouts/setup.html.erb (Duration: 29949.5ms | Allocations: 1710417)
dradis-1 | Completed 200 OK in 29977ms (Views: 29954.8ms | ActiveRecord: 4.4ms | Allocations: 1723063)
Be mindful though that the image’s WORKDIR
is /app
not /dradis
though:
1 Like
hi guys thanks for the reply, it seems that it took a while to go up but it working so far thank you again