Skip to content

Commit

Permalink
Minor fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
bunop committed Nov 17, 2017
1 parent 3fd7d11 commit 7e973a2
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
3 changes: 2 additions & 1 deletion compose/gbrowse/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,8 @@ Launch a gbrowse container:
$ docker-compose run --no-deps --rm gbrowse /bin/bash
$ cd /var/lib/gbrowse2/databases/gbrowse_syn/alignments
$ gzip -d rice.aln.gz
$ zcat rice.aln.gz perl | /usr/local/bin/gbrowse_syn_load_alignments_msa.pl -u root -p my-secret-pw --dsn='dbi:mysql:database=rice_synteny;host=db' -f clustalw -v -c -
$ /usr/local/bin/gbrowse_syn_load_alignments_msa.pl -u root -p my-secret-pw --dsn='dbi:mysql:database=rice_synteny;host=db' -f clustalw -v -c rice.aln
$ gzip --best rice.aln
```

Then reach `gbrowse_syn` from this [link][local-gbrowse_syn]. More information on
Expand Down
4 changes: 4 additions & 0 deletions compose/gbrowse/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,10 @@ services:
source: gbrowse-cache
target: /var/tmp/gbrowse2

- type: bind
source: ./gbrowse/gbrowse2.conf
target: /etc/apache2/conf-available/gbrowse2.conf

links:
- db
- lb
Expand Down
1 change: 1 addition & 0 deletions compose/gbrowse/gbrowse/gbrowse2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ ScriptAlias "/gb2" "/usr/lib/cgi-bin/gb2"
SetHandler fcgid-script
</Location>
FcgidInitialEnv GBROWSE_CONF /etc/gbrowse2
FcgidInitialEnv DOCUMENT_ROOT /var/www/html/
# these directives prevent idle/busy timeouts and may need to be
# adjusted up or down
FcgidMinProcessesPerClass 6
Expand Down

0 comments on commit 7e973a2

Please sign in to comment.