From af6e1a82b3b7f15e6ee4e930d358cdcee65f353a Mon Sep 17 00:00:00 2001 From: Bienvenido Benoit Ranque Date: Mon, 8 Apr 2019 09:20:49 -0400 Subject: [PATCH] added static fileserver --- docker-compose.yml | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/docker-compose.yml b/docker-compose.yml index bf6e5f2..f4f1591 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -1,6 +1,14 @@ # production configuration. See docker-compose.override.yml from development specific configurations version: '3.6' services: + nginx: + image: nginx:stable-alpine + ports: + - "80:80" + - "443:443" + restart: on-failure + volumes: + - ./nginx/html:/usr/share/nginx/html:ro postgres: image: postgres:11-alpine restart: always @@ -65,4 +73,6 @@ services: PGPORT: 5432 AUTH_JWT_SECRET: ${AUTH_JWT_SECRET} depends_on: - - postgres \ No newline at end of file + - postgres + volumes: + - ./business-logic/files:/usr/app/files \ No newline at end of file