Skip to content

Commit

Permalink
Update neo-python to v0.8.0 (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
revett authored Oct 1, 2018
1 parent 46e787b commit 98ecf9f
Show file tree
Hide file tree
Showing 3 changed files with 31 additions and 30 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.8.2
0.9.0
7 changes: 4 additions & 3 deletions cli/services/docker.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,8 +46,9 @@ func dockerImageNames() []string {
return []string{
"cityofzion/neo-local-faucet:latest",
"cityofzion/neo-privatenet:2.7.6",
"cityofzion/neo-python:v0.7.8",
"postgres:10.1",
"registry.gitlab.com/cityofzion/neo-scan:latest",
"cityofzion/neo-python:v0.8.0",
"postgres:10.5",
"registry.gitlab.com/cityofzion/neo-scan/api:latest",
"registry.gitlab.com/cityofzion/neo-scan/sync:latest"
}
}
52 changes: 26 additions & 26 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ services:
- neo-scan-api
environment:
NEOSCAN: "neo-scan-api:4000"
image: cityofzion/neo-local-faucet
image: cityofzion/neo-local-faucet:latest
links:
- "neo-scan-api:4000"
ports:
Expand All @@ -32,34 +32,13 @@ services:
- neo-nodes
- neo-scan-api
- neo-scan-sync
image: cityofzion/neo-python:v0.7.7
image: cityofzion/neo-python:v0.8.0
network_mode: host
tty: true
volumes:
- "./smart-contracts:/smart-contracts"
- "./wallets:/wallets"

neo-scan-sync:
container_name: neo-scan-sync
depends_on:
- postgres
- neo-nodes
- notifications-server
environment:
NEO_NOTIFICATIONS_SERVER: "http://${NOTIFICATIONS_SERVER}:8080/v1"
NEO_SEEDS: "http://${SEED_SERVER}:30333;http://${SEED_SERVER}:30334;http://${SEED_SERVER}:30335;http://${SEED_SERVER}:30336"
DB_HOSTNAME: postgres
DB_USERNAME: postgres
DB_PASSWORD: postgres
DB_DATABASE: neoscan_prodv
REPLACE_OS_VARS: "true"
image: registry.gitlab.com/cityofzion/neo-scan/sync
links:
- "neo-nodes:30333"
- "neo-nodes:30334"
- "neo-nodes:30335"
- "neo-nodes:30336"

neo-scan-api:
container_name: neo-scan-api
depends_on:
Expand All @@ -76,7 +55,7 @@ services:
DB_PASSWORD: postgres
DB_DATABASE: neoscan_prodv
REPLACE_OS_VARS: "true"
image: registry.gitlab.com/cityofzion/neo-scan/api
image: registry.gitlab.com/cityofzion/neo-scan/api:latest
links:
- "neo-nodes:30333"
- "neo-nodes:30334"
Expand All @@ -85,12 +64,33 @@ services:
ports:
- "4000:4000"

neo-scan-sync:
container_name: neo-scan-sync
depends_on:
- postgres
- neo-nodes
- notifications-server
environment:
NEO_NOTIFICATIONS_SERVER: "http://${NOTIFICATIONS_SERVER}:8080/v1"
NEO_SEEDS: "http://${SEED_SERVER}:30333;http://${SEED_SERVER}:30334;http://${SEED_SERVER}:30335;http://${SEED_SERVER}:30336"
DB_HOSTNAME: postgres
DB_USERNAME: postgres
DB_PASSWORD: postgres
DB_DATABASE: neoscan_prodv
REPLACE_OS_VARS: "true"
image: registry.gitlab.com/cityofzion/neo-scan/sync:latest
links:
- "neo-nodes:30333"
- "neo-nodes:30334"
- "neo-nodes:30335"
- "neo-nodes:30336"

notifications-server:
command: "/usr/bin/python3 /neo-python/neo/bin/api_server.py --config /neo-python/custom-config.json --port-rest 8080"
container_name: notifications-server
depends_on:
- neo-nodes
image: cityofzion/neo-python
image: cityofzion/neo-python:v0.8.0
ports:
- "8080:8080"
volumes:
Expand All @@ -104,4 +104,4 @@ services:
POSTGRES_USER: postgres
expose:
- 5432
image: "postgres:10.1"
image: postgres:10.5

0 comments on commit 98ecf9f

Please sign in to comment.