Skip to content

Commit

Permalink
fix: dados em prd
Browse files Browse the repository at this point in the history
  • Loading branch information
alanagabriele committed Jun 24, 2024
1 parent 72af5d2 commit d87c76e
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 30 deletions.
59 changes: 30 additions & 29 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,33 +1,34 @@
services:
# chicoliro-back:
# build: .
# container_name: chicoliro-back
# ports:
# - '3005:3005'
# environment:
# - TZ=America/Sao_Paulo
# volumes:
# - .:/usr/src/api
# - /usr/src/api/node_modules
# restart: unless-stopped
# networks:
# - my_shared_network
# networks:
# my_shared_network:
# external: true
redisLocal:
container_name: 'redis'
image: bitnami/redis:latest
environment:
- REDIS_PASSWORD=NKaw8zKdqC4AE9dT
- REDIS_PORT_NUMBER=6000
command: /opt/bitnami/scripts/redis/run.sh
restart: unless-stopped
chicoliro-back:
build: .
container_name: chicoliro-back
ports:
- '6000:6000'
- '3005:3005'
environment:
- TZ=America/Sao_Paulo
volumes:
- redisLocal:/data
- .:/usr/src/api
- /usr/src/api/node_modules
restart: unless-stopped
networks:
- my_shared_network
networks:
my_shared_network:
external: true
# redisLocal:
# container_name: 'redis'
# image: bitnami/redis:latest
# environment:
# - REDIS_PASSWORD=NKaw8zKdqC4AE9dT
# - REDIS_PORT_NUMBER=6000
# command: /opt/bitnami/scripts/redis/run.sh
# restart: unless-stopped
# ports:
# - '6000:6000'
# volumes:
# - redisLocal:/data

# volumes:
# redisLocal:
# driver: local

volumes:
redisLocal:
driver: local
2 changes: 1 addition & 1 deletion src/queue/queue.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import { DataModule } from './src/modules/data/data.module';
imports: [
BullModule.forRoot({
redis: {
host: 'localhost',
host: 'redis',
port: 6000,
password: 'NKaw8zKdqC4AE9dT',
},
Expand Down

0 comments on commit d87c76e

Please sign in to comment.