Skip to content

Commit

Permalink
Merge pull request #82 from steemit/sneak
Browse files Browse the repository at this point in the history
added docker-compose for testing in `contrib/`
  • Loading branch information
sneak authored Feb 16, 2018
2 parents 1e867f8 + 57cffa7 commit a065599
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 0 deletions.
4 changes: 4 additions & 0 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ Notice
This is prerelease software, not yet suitable for production use.
Proceed at your own risk.

Dev Quickstart
==============

`docker-compose -f contrib/docker-compose.yml up`

Quickstart
==========
Expand Down
28 changes: 28 additions & 0 deletions contrib/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
version: '3'

services:
db:
image: mysql:5.7
volumes:
- db_data:/var/lib/mysql
restart: always
environment:
MYSQL_ROOT_PASSWORD: password
MYSQL_DATABASE: sbds
MYSQL_USER: user
MYSQL_PASSWORD: password

sbds:
depends_on:
- db
build: ..
ports:
- "8080:80"
restart: always
environment:
DATABASE_URL: mysql+mysqldb://user:password@db/sbds?charset=utf8mb4
STEEMD_HTTP_URL: https://api.steemit.com
SBDS_LOG_LEVEL: DEBUG

volumes:
db_data:

0 comments on commit a065599

Please sign in to comment.