Skip to content

Commit

Permalink
fix: plasticome-compose prod
Browse files Browse the repository at this point in the history
  • Loading branch information
pedrovsbenevides committed Dec 17, 2024
1 parent e8442c4 commit 9af48db
Showing 1 changed file with 14 additions and 12 deletions.
26 changes: 14 additions & 12 deletions plasticome-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ services:
- DATABASE_PASSWORD=${DATABASE_PASSWORD}
- DATABASE_PORT=${DATABASE_PORT}
- DATABASE_HOST=${DATABASE_HOST}
- PLASTICOME_USER=${PLASTICOME_USER}
- PLASTICOME_PASSWORD=${PLASTICOME_PASSWORD}
restart: always
ports:
- "5001:5000"
Expand All @@ -24,7 +26,7 @@ services:
- postgres
networks:
- plasticome
# - internal
- internal

backend:
container_name: plasticome_backend
Expand All @@ -34,11 +36,11 @@ services:
privileged: true
environment:
- DOCKER_HOST=tcp://localhost:2375
- ENTREZ_EMAIL=mestre197@gmail.com
- ENTREZ_EMAIL=alenz@gmail.com
- RABBIT_MQ_URL=amqp://guest:guest@plasticome_rabbitmq:5672//
- CELERY_BROKER_URL=amqp://guest:guest@plasticome_rabbitmq:5672//
- RESULT_BACKEND=redis://plasticome_redis:6379/0
- PLASTICOME_METADATA_URL=http://metadata:5000/
- PLASTICOME_METADATA_URL=http://metadata:5000
- C_FORCE_ROOT=true
- FLASK_RUN_HOST=backend
- PLASTICOME_USER=${PLASTICOME_USER}
Expand All @@ -59,7 +61,7 @@ services:
- ./temp_genomes:/app/temp_genomes
networks:
- plasticome
# - internal
- internal

frontend:
container_name: plasticome_frontend
Expand All @@ -71,10 +73,10 @@ services:
depends_on:
- backend
ports:
- "3000:80"
- "64067:80"
networks:
- plasticome
# - internal
- internal

rabbitmq:
container_name: plasticome_rabbitmq
Expand All @@ -90,7 +92,7 @@ services:
- redis
networks:
- plasticome
# - internal
- internal
volumes:
- rabbitmq_data:/data

Expand All @@ -101,7 +103,7 @@ services:
- "6379:6379"
networks:
- plasticome
# - internal
- internal
volumes:
- redis_data:/data

Expand All @@ -117,16 +119,16 @@ services:
POSTGRES_USER: ${DATABASE_USER}
POSTGRES_PASSWORD: ${DATABASE_PASSWORD}
ports:
- "33805:5432"
- "5432:5432"
networks:
- plasticome
# - internal
- internal

networks:
plasticome:
driver: bridge
# internal:
# external: true
internal:
external: true
volumes:
data:
rabbitmq_data:
Expand Down

0 comments on commit 9af48db

Please sign in to comment.