mirror of
https://github.com/EvolutionAPI/evolution-api.git
synced 2025-07-24 09:28:39 -06:00
Tracking dockerfile and docker compose changes
This commit is contained in:
parent
7f10a0eecd
commit
2642b001d1
2
.gitignore
vendored
2
.gitignore
vendored
@ -1,3 +1,5 @@
|
|||||||
|
.DS_Store
|
||||||
|
|
||||||
# compiled output
|
# compiled output
|
||||||
/dist
|
/dist
|
||||||
/node_modules
|
/node_modules
|
||||||
|
@ -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 ./
|
||||||
|
|
||||||
|
@ -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:
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user