From e6ba387dc1b122453c7d8997b0dd152da18def76 Mon Sep 17 00:00:00 2001 From: Alessio Davoli Date: Mon, 10 Jul 2023 17:15:00 +0200 Subject: [PATCH] Update build and prod compose --- docker-compose.build.yml | 9 +++++---- docker-compose.prod.yml | 13 ++++++++----- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/docker-compose.build.yml b/docker-compose.build.yml index a83bdcc..8a40bf3 100644 --- a/docker-compose.build.yml +++ b/docker-compose.build.yml @@ -1,13 +1,14 @@ version: '3' services: - pianello-web-app: - image: git.webdeploy.it/pianello/pianello-web-app + frontend: + image: git.webdeploy.it/pianello/frontend restart: always build: context: . dockerfile: Dockerfile version_tag: - extends: pianello-web-app - image: git.webdeploy.it/pianello/pianello-web-app:${TAG} + extends: frontend + image: git.webdeploy.it/pianello/frontend:${TAG} + diff --git a/docker-compose.prod.yml b/docker-compose.prod.yml index ece1b21..d92e8c5 100644 --- a/docker-compose.prod.yml +++ b/docker-compose.prod.yml @@ -1,9 +1,12 @@ -version: '3' +version: '3.7' services: - web-app: - image: git.webdeploy.it/pianello/pianello-web-app:latest + frontend: + image: git.webdeploy.it/pianello/frontend:latest restart: always - container_name: pianello-web-app + environment: + ORIGIN: "${ORIGIN}" + PORT: 8000 + BODY_SIZE_LIMIT: 0 ports: - - 127.0.0.1:8080:80 + - 127.0.0.1:8000:8000 \ No newline at end of file