MonashBI / xnat-docker-compose

Build an XNAT server configuration with Docker Compose
MIT License
1 stars 4 forks source link

following instructions results in 404 #16

Open dmd opened 4 years ago

dmd commented 4 years ago

Following the readme instructions results in a 404.

[ddrucker@micpacs xnat-docker-compose]$ curl -vvvv localhost
* About to connect() to localhost port 80 (#0)
*   Trying ::1...
* Connected to localhost (::1) port 80 (#0)
> GET / HTTP/1.1
> User-Agent: curl/7.29.0
> Host: localhost
> Accept: */*
>
< HTTP/1.1 404 Not Found
< Server: nginx/1.12.2
< Date: Wed, 19 Feb 2020 19:17:04 GMT
< Content-Length: 0
< Connection: keep-alive
<
* Connection #0 to host localhost left intact
tclose commented 4 years ago

Hi Daniel,

I think if you run

$ docker-compose ps

you will find that the database container didn't start properly (I have now added this to the README). This is because the latest update to the postgres image now requires a master password to be set for the database (probably a good idea!) via an environment variable.

I have updated the configure.sh script to ask for this password and the compose files to pass it to the container so if you re-run

$ ./configure.sh $ docker-compose up -d

It should work hopefully.

Cheers,

Tom

On Thu, 20 Feb 2020 at 06:40, Daniel M. Drucker notifications@github.com wrote:

Following the readme instructions results in a 404.

[ddrucker@micpacs xnat-docker-compose]$ curl -vvvv localhost

  • About to connect() to localhost port 80 (#0)
  • Trying ::1...
  • Connected to localhost (::1) port 80 (#0)

    GET / HTTP/1.1 User-Agent: curl/7.29.0 Host: localhost Accept: /

    < HTTP/1.1 404 Not Found < Server: nginx/1.12.2 < Date: Wed, 19 Feb 2020 19:17:04 GMT < Content-Length: 0 < Connection: keep-alive <

  • Connection #0 to host localhost left intact

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/MonashBI/xnat-docker-compose/issues/16?email_source=notifications&email_token=AAIBRFTIHGMCVZ4C6HT2S3DRDWDLJA5CNFSM4KYAJ4OKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4IOX6CAQ, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAIBRFUBSGKWSEREVBQIUX3RDWDLJANCNFSM4KYAJ4OA .

-- THOMAS G. CLOSE, PHD Imaging Informatics Officer

Monash Biomedical Imaging Monash University Room 139, 770 Blackburn Rd Clayton Campus, Clayton VIC 3800 Australia

T: +61 3 9902 9804 M: +61 491 141 390 E: tom.close@monash.edu mbi.monash.edu.au