From 09bf2de079a8dee44173d779355ca1fa6037ec18 Mon Sep 17 00:00:00 2001 From: Richard Hitier Date: Sat, 4 Nov 2023 16:11:11 +0100 Subject: [PATCH] Rename compose file --- compose.yaml | 23 +++++++++++++++++++++++ docker-compose.yml | 23 ----------------------- 2 files changed, 23 insertions(+), 23 deletions(-) create mode 100644 compose.yaml delete mode 100644 docker-compose.yml diff --git a/compose.yaml b/compose.yaml new file mode 100644 index 0000000..5e24aae --- /dev/null +++ b/compose.yaml @@ -0,0 +1,23 @@ +version: '3.3' + +services: + web: + build: + context: . + dockerfile: Dockerfile + command: gunicorn --bind 0.0.0.0:5000 heliopropa:application + volumes: + - helio_cache:/cache:rw + expose: + - 5000 + nginx: + image: nginx + volumes: + - ./resources/heliopropa.nginx.docker:/etc/nginx/conf.d/default.conf + ports: + - "8080:80" + depends_on: + - web + +volumes: + helio_cache: diff --git a/docker-compose.yml b/docker-compose.yml deleted file mode 100644 index 5e24aae..0000000 --- a/docker-compose.yml +++ /dev/null @@ -1,23 +0,0 @@ -version: '3.3' - -services: - web: - build: - context: . - dockerfile: Dockerfile - command: gunicorn --bind 0.0.0.0:5000 heliopropa:application - volumes: - - helio_cache:/cache:rw - expose: - - 5000 - nginx: - image: nginx - volumes: - - ./resources/heliopropa.nginx.docker:/etc/nginx/conf.d/default.conf - ports: - - "8080:80" - depends_on: - - web - -volumes: - helio_cache: -- libgit2 0.21.2