From 598de0a51a9a6f9fb129cb1d38325616186feb50 Mon Sep 17 00:00:00 2001 From: Valentyn Zamykhivskyi Date: Tue, 26 Sep 2023 02:03:21 +0300 Subject: [PATCH] fix compose --- docker-compose.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index c3c58befe..ac60fd1cb 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -4,6 +4,7 @@ services: volumes: - /etc/certbot/www/:/var/www/certbot/:rw - /etc/certbot/conf/:/etc/letsencrypt/:rw + nginx: image: nginx:latest ports: @@ -16,7 +17,6 @@ services: - ./templates:/etc/nginx/templates - /etc/certbot/www:/var/www/certbot/:ro - /etc/certbot/conf:/etc/nginx/ssl/:ro - frontend: image: streetcodeua/streetcode_client:${DOCKER_TAG_FRONTEND} pull_policy: always @@ -29,6 +29,7 @@ services: retries: 5 environment: API_URL: ${ENV_API_BACKEND} + backend: image: streetcodeua/streetcode:${DOCKER_TAG_BACKEND} pull_policy: always @@ -64,4 +65,4 @@ networks: name: backend frontend: external: - name: frontend + name: frontend \ No newline at end of file