Browse Source

Preparado para Docker

politica
Celestino Rey 1 year ago
parent
commit
cda35318b9
14 changed files with 6 additions and 6 deletions
  1. +5
    -5
      LyricsPy/docker-compose.prod.yml
  2. +1
    -1
      LyricsPy/servicios/Dockerfile
  3. +0
    -0
      LyricsPy/servicios/app.py
  4. +0
    -0
      LyricsPy/servicios/models.py
  5. +0
    -0
      LyricsPy/servicios/nginx/Dockerfile
  6. +0
    -0
      LyricsPy/servicios/nginx/nginx.conf
  7. +0
    -0
      LyricsPy/servicios/static/style.css
  8. +0
    -0
      LyricsPy/servicios/templates/add_album.html
  9. +0
    -0
      LyricsPy/servicios/templates/add_song.html
  10. +0
    -0
      LyricsPy/servicios/templates/album.html
  11. +0
    -0
      LyricsPy/servicios/templates/base.html
  12. +0
    -0
      LyricsPy/servicios/templates/index.html
  13. +0
    -0
      LyricsPy/servicios/templates/search.html
  14. +0
    -0
      LyricsPy/servicios/templates/song.html

+ 5
- 5
LyricsPy/docker-compose.prod.yml View File

@ -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:
lyrics_prod:

LyricsPy/Dockerfile → LyricsPy/servicios/Dockerfile View File

@ -21,4 +21,4 @@ COPY . .
# run entrypoint.sh
ENTRYPOINT ["/padel/entrypoint.sh"]
#ENTRYPOINT ["./entrypoint.sh"]

LyricsPy/app.py → LyricsPy/servicios/app.py View File


LyricsPy/models.py → LyricsPy/servicios/models.py View File


LyricsPy/nginx/Dockerfile → LyricsPy/servicios/nginx/Dockerfile View File


LyricsPy/nginx/nginx.conf → LyricsPy/servicios/nginx/nginx.conf View File


LyricsPy/static/style.css → LyricsPy/servicios/static/style.css View File


LyricsPy/templates/add_album.html → LyricsPy/servicios/templates/add_album.html View File


LyricsPy/templates/add_song.html → LyricsPy/servicios/templates/add_song.html View File


LyricsPy/templates/album.html → LyricsPy/servicios/templates/album.html View File


LyricsPy/templates/base.html → LyricsPy/servicios/templates/base.html View File


LyricsPy/templates/index.html → LyricsPy/servicios/templates/index.html View File


LyricsPy/templates/search.html → LyricsPy/servicios/templates/search.html View File


LyricsPy/templates/song.html → LyricsPy/servicios/templates/song.html View File


Loading…
Cancel
Save