Skip to content

Commit

Permalink
Add Production docker-compose
Browse files Browse the repository at this point in the history
  • Loading branch information
Kosala Gangabadage authored and Kosala Gangabadage committed Mar 25, 2020
1 parent d603d92 commit f8bf644
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions Production.docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
version: "3.1"

services:
covid19-service:
image: govtechlk/covid19:latest
expose:
- "8000"
restart: always
ports:
- 8000:8000
environment:
- COVID19_SERVICE_DOMAIN="localhost"
healthcheck:
test: ["CMD", "/usr/bin/healthcheck"]
interval: 30s
timeout: 10s
retries: 5
volumes:
- /home/covid/application.yml:/tmp/target/application.yml

0 comments on commit f8bf644

Please sign in to comment.