Skip to content

Commit

Permalink
Merge pull request #5 from lapig-ufg/email
Browse files Browse the repository at this point in the history
build
  • Loading branch information
jairomr authored Oct 1, 2024
2 parents 7bd48c4 + 8074435 commit 20de37d
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ jobs:
- name: Delete Container
id: delete_container
continue-on-error: true

run: |
/compose/resetapp.sh --title "Task api" \
--container "task_api" \
Expand Down
14 changes: 7 additions & 7 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,20 +24,20 @@ services:
- "8086:8080"
volumes:
- .:/home/suporte
- ./volumes/gee.json:/var/sec/gee.json
- ./volumes/logs:/logs
- ../volumes/gee.json:/var/sec/gee.json
- ../volumes/logs:/logs

networks:
- web_lapig
worker:
build:
context: .
dockerfile: ./docker/prod/Dockerfile
command: uv run celery -A worker.celery worker --loglevel=info --logfile=logs/celery.log
command: uv run celery -A worker.celery worker --loglevel=info -E --logfile=logs/celery.log
volumes:
- .:/home/suporte
- ./volumes/gee.json:/var/sec/gee.json
- ./volumes/logs:/logs
- ../volumes/gee.json:/var/sec/gee.json
- ../volumes/logs:/logs
environment:
- CELERY_BROKER_URL=redis://queejobs:6379/0
- CELERY_RESULT_BACKEND=redis://queejobs:6379/0
Expand Down Expand Up @@ -74,7 +74,7 @@ services:
container_name: queejobs

volumes:
- ./volumes/redis_data:/data
- ../volumes/redis_data:/data
restart: always
networks:
- web_lapig
Expand All @@ -84,7 +84,7 @@ services:
hostname: mongodbjobs
container_name: mongodbjobs
volumes:
- ./volumes/mongodb_data:/data/db
- ../volumes/mongodb_data:/data/db
restart: always
ports:
- "27050:27017"
Expand Down
2 changes: 1 addition & 1 deletion workers/utils/emial.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@


def html_to_text(html):
soup = BeautifulSoup(html)
soup = BeautifulSoup(html, features="html.parser")
return soup.get_text()

0 comments on commit 20de37d

Please sign in to comment.