Skip to content

Commit

Permalink
fix: dados em dsv
Browse files Browse the repository at this point in the history
  • Loading branch information
alanagabriele committed Jun 24, 2024
1 parent 554a015 commit 090bb60
Show file tree
Hide file tree
Showing 2 changed files with 30 additions and 31 deletions.
59 changes: 29 additions & 30 deletions docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,34 +1,33 @@
services:
chicoliro-back:
build: .
container_name: chicoliro-back
ports:
- '3005:3005'
# 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:
- TZ=America/Sao_Paulo
volumes:
- .:/usr/src/api
- /usr/src/api/node_modules
- REDIS_PASSWORD=NKaw8zKdqC4AE9dT
- REDIS_PORT_NUMBER=6000
command: /opt/bitnami/scripts/redis/run.sh
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
ports:
- '6000:6000'
volumes:
- redisLocal:/data

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: 'redis',
host: 'localhost',
port: 6000,
password: 'NKaw8zKdqC4AE9dT',
},
Expand Down

0 comments on commit 090bb60

Please sign in to comment.