Skip to content

Commit 80460f4

Browse files
authored
Merge pull request #599 from PecanProject/fix-download-url
fix download url and oter small docker fixes
2 parents 266dea4 + 3c12624 commit 80460f4

File tree

3 files changed

+31
-14
lines changed

3 files changed

+31
-14
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
# Change Log
2+
All notable changes are kept in this file. All changes made should be added to the section called
3+
`Unreleased`. Once a new release is made this file will be updated to create a new `Unreleased`
4+
section for the next release.
5+
6+
For more information about this file see also [Keep a Changelog](http://keepachangelog.com/) .
7+
8+
9+
## [5.0.3] - 2018-09-28
10+
11+
### Fixes
12+
13+
- #593 : Replaces references to gitter with references to slack.
14+
- #598 : Fixes issue in docker where the entrypoint referenced a wrong URL to download the initial schema from.
15+
16+
## [5.0.2] - 2018-08-09
17+
18+
### Fixes
19+
- Update to sprockets gem
20+
21+
## [5.0.1] - 2018-08-08
22+
23+
### Fixes
24+
- Fixes fuzzy matching used in search queries
25+
26+
## [5.0.0] - 2018-08-07
27+
28+
### Fixes
29+
- Major upgrade to rails 5, make sure to read documentation on how to upgrade.

docker-compose.yml

Lines changed: 1 addition & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ version: "3"
33
services:
44
# BETY rails frontend to the database
55
bety:
6-
image: pecan/bety:unicorn
6+
image: pecan/bety:${BRANCH:-latest}
77
networks:
88
- bety
99
ports:
@@ -14,12 +14,6 @@ services:
1414
depends_on:
1515
- postgres
1616
restart: unless-stopped
17-
deploy:
18-
mode: replicated
19-
restart_policy:
20-
condition: any
21-
placement:
22-
constraints: [node.role == manager]
2317

2418
# postgresql + postgis to hold all the data
2519
postgres:
@@ -31,12 +25,6 @@ services:
3125
volumes:
3226
- postgres:/var/lib/postgresql/data
3327
restart: unless-stopped
34-
deploy:
35-
mode: replicated
36-
restart_policy:
37-
condition: any
38-
placement:
39-
constraints: [node.role == worker]
4028

4129
networks:
4230
bety:

docker/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ case $1 in
66
echo "Create new database, initialized from all data."
77
psql -h postgres -p 5432 -U postgres -c "CREATE ROLE bety WITH LOGIN CREATEDB NOSUPERUSER NOCREATEROLE PASSWORD 'bety'"
88
psql -h postgres -p 5432 -U postgres -c "CREATE DATABASE bety WITH OWNER bety"
9-
./load.bety.sh -a "postgres" -d "bety" -p "-h postgres -p 5432" -o bety -c -u -g -m ${LOCAL_SERVER} -r 0 -w https://ebi-forecast.igb.illinois.edu/pecan/dumpall/bety.tar.gz
9+
./load.bety.sh -a "postgres" -d "bety" -p "-h postgres -p 5432" -o bety -c -u -g -m ${LOCAL_SERVER} -r 0 -w https://ebi-forecast.igb.illinois.edu/pecan/dump/all/bety.tar.gz
1010
;;
1111
"sync" )
1212
echo "Synchronize with servers ${REMOTE_SERVERS}"

0 commit comments

Comments
 (0)