diff --git a/LyricsPy/docker-compose.prod.yml b/LyricsPy/docker-compose.prod.yml index 02b7984..61bc882 100644 --- a/LyricsPy/docker-compose.prod.yml +++ b/LyricsPy/docker-compose.prod.yml @@ -2,21 +2,21 @@ version: '2.2' services: lyrics: - build: . + build: ./servicios command: gunicorn --bind 0.0.0.0:5000 app:create_app() volumes: - - lyrics_prodd:/instance + - lyrics_prod:/instance expose: - 5000 # env_file: # - ./.env.prod nginx: - build: ./nginx + build: ./servicios/nginx ports: - 1337:80 depends_on: - - padel + - lyrics volumes: - padel_prod: \ No newline at end of file + lyrics_prod: diff --git a/LyricsPy/Dockerfile b/LyricsPy/servicios/Dockerfile similarity index 93% rename from LyricsPy/Dockerfile rename to LyricsPy/servicios/Dockerfile index cc4e714..dff2a95 100644 --- a/LyricsPy/Dockerfile +++ b/LyricsPy/servicios/Dockerfile @@ -21,4 +21,4 @@ COPY . . # run entrypoint.sh -ENTRYPOINT ["/padel/entrypoint.sh"] \ No newline at end of file +#ENTRYPOINT ["./entrypoint.sh"] diff --git a/LyricsPy/app.py b/LyricsPy/servicios/app.py similarity index 100% rename from LyricsPy/app.py rename to LyricsPy/servicios/app.py diff --git a/LyricsPy/models.py b/LyricsPy/servicios/models.py similarity index 100% rename from LyricsPy/models.py rename to LyricsPy/servicios/models.py diff --git a/LyricsPy/nginx/Dockerfile b/LyricsPy/servicios/nginx/Dockerfile similarity index 100% rename from LyricsPy/nginx/Dockerfile rename to LyricsPy/servicios/nginx/Dockerfile diff --git a/LyricsPy/nginx/nginx.conf b/LyricsPy/servicios/nginx/nginx.conf similarity index 100% rename from LyricsPy/nginx/nginx.conf rename to LyricsPy/servicios/nginx/nginx.conf diff --git a/LyricsPy/static/style.css b/LyricsPy/servicios/static/style.css similarity index 100% rename from LyricsPy/static/style.css rename to LyricsPy/servicios/static/style.css diff --git a/LyricsPy/templates/add_album.html b/LyricsPy/servicios/templates/add_album.html similarity index 100% rename from LyricsPy/templates/add_album.html rename to LyricsPy/servicios/templates/add_album.html diff --git a/LyricsPy/templates/add_song.html b/LyricsPy/servicios/templates/add_song.html similarity index 100% rename from LyricsPy/templates/add_song.html rename to LyricsPy/servicios/templates/add_song.html diff --git a/LyricsPy/templates/album.html b/LyricsPy/servicios/templates/album.html similarity index 100% rename from LyricsPy/templates/album.html rename to LyricsPy/servicios/templates/album.html diff --git a/LyricsPy/templates/base.html b/LyricsPy/servicios/templates/base.html similarity index 100% rename from LyricsPy/templates/base.html rename to LyricsPy/servicios/templates/base.html diff --git a/LyricsPy/templates/index.html b/LyricsPy/servicios/templates/index.html similarity index 100% rename from LyricsPy/templates/index.html rename to LyricsPy/servicios/templates/index.html diff --git a/LyricsPy/templates/search.html b/LyricsPy/servicios/templates/search.html similarity index 100% rename from LyricsPy/templates/search.html rename to LyricsPy/servicios/templates/search.html diff --git a/LyricsPy/templates/song.html b/LyricsPy/servicios/templates/song.html similarity index 100% rename from LyricsPy/templates/song.html rename to LyricsPy/servicios/templates/song.html