Skip to content

Commit

Permalink
smol updates, handling ports
Browse files Browse the repository at this point in the history
  • Loading branch information
peerchemist committed Aug 14, 2019
1 parent add574c commit 8520a14
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Dockerfile
Expand Up @@ -26,6 +26,6 @@ ENV SSL_CERTFILE ${DB_DIRECTORY}/electrumx.crt
ENV SSL_KEYFILE ${DB_DIRECTORY}/electrumx.key
WORKDIR /data

EXPOSE 50001 50002
EXPOSE 50001 50002 50004 8000

CMD ["init"]
4 changes: 3 additions & 1 deletion docker-compose.yml
Expand Up @@ -21,7 +21,8 @@ services:
- COIN=Peercoin
- DB_DIRECTORY=/data
- CACHE_MB=400
- SERVICES=tcp://:50001,ssl://:50002,wss://:50004,rpc://
- SERVICES=tcp://:50001,ssl://:50002,wss://:50004,rpc://0.0.0.0:8000
- HOST=""
- DONATION_ADDRESS=p92W3t7YkKfQEPDb7cG9jQ6iMh7cpKLvwK
volumes:
- type: bind
Expand All @@ -31,6 +32,7 @@ services:
- "50001:50001" # comment out to disable TCP port (plaintext)
- "50002:50002"
- "50004:50004"
- "8000:8000"
restart: always
depends_on:
- peercoind

0 comments on commit 8520a14

Please sign in to comment.