Tracking dockerfile and docker compose changes

This commit is contained in:
Gabriel Rodrigues 2025-02-01 14:06:58 -03:00
parent 7f10a0eecd
commit 2642b001d1
3 changed files with 6 additions and 16 deletions

2
.gitignore vendored
View File

@ -1,3 +1,5 @@
.DS_Store
# compiled output # compiled output
/dist /dist
/node_modules /node_modules

View File

@ -17,7 +17,7 @@ COPY ./src ./src
COPY ./public ./public COPY ./public ./public
COPY ./prisma ./prisma COPY ./prisma ./prisma
COPY ./manager ./manager COPY ./manager ./manager
COPY ./.env.example ./.env COPY .env ./.env
COPY ./runWithProvider.js ./ COPY ./runWithProvider.js ./
COPY ./tsup.config.ts ./ COPY ./tsup.config.ts ./

View File

@ -1,10 +1,9 @@
services: services:
api: api:
container_name: evolution_api container_name: evolution_api
image: atendai/evolution-api:homolog image: atendai/evolution-api:v2.2.1
restart: always restart: always
depends_on: depends_on:
- redis
- postgres - postgres
ports: ports:
- 8080:8080 - 8080:8080
@ -16,18 +15,8 @@ services:
- .env - .env
expose: expose:
- 8080 - 8080
extra_hosts:
redis: - "host.docker.internal:host-gateway"
image: redis:latest
networks:
- evolution-net
container_name: redis
command: >
redis-server --port 6379 --appendonly yes
volumes:
- evolution_redis:/data
ports:
- 6379:6379
postgres: postgres:
container_name: postgres container_name: postgres
@ -50,7 +39,6 @@ services:
volumes: volumes:
evolution_instances: evolution_instances:
evolution_redis:
postgres_data: postgres_data: