Public Repository

Last pushed: 4 months ago
Short Description
Short description is empty for this repo.
Full Description

You can use the following docker-compose.yml to run this service:

`version: '3'
services:
db:
image: postgres:9.6
restart: always
environment:

  - POSTGRES_USER=postgres
  - POSTGRES_PASSWORD=postgres
  - POSTGRES_DB=tournament

social-tournament-service:
image: sergiydagunov/social-tournament-service:latest
restart: always
environment:

  - POST=5000
  - LOG_LEVEL=verbose
  - STAGE=master
  - POSTGRES_HOST=db
  - DATABASE_URL=postgres://postgres:postgres@db:5432/tournament
ports:
  - 80:5000
command: sh -c './wait-for && sequelize db:migrate && npm start'
depends_on:
  - db

`

  1. install docker & docker-compose
  2. create a file docker-compose.yml with content mentioned above
  3. run command: docker-compose up
  4. open up http://localhost/developer.html to see API doc
Docker Pull Command
Owner
sergiydagunov

Comments (0)