2023-10-16 19:23:53 +03:00
|
|
|
version: "3"
|
|
|
|
services:
|
|
|
|
verdaccio:
|
|
|
|
restart: unless-stopped
|
|
|
|
image: verdaccio/verdaccio:5.27
|
|
|
|
container_name: "verdaccio"
|
|
|
|
volumes:
|
|
|
|
- "./.verdaccio:/verdaccio/conf"
|
2024-02-07 19:05:53 +03:00
|
|
|
ports:
|
|
|
|
- "4873:4873"
|
2023-10-16 19:23:53 +03:00
|
|
|
networks:
|
|
|
|
- mtcute-e2e
|
|
|
|
build:
|
|
|
|
build:
|
2024-04-22 00:05:08 +03:00
|
|
|
context: ../..
|
|
|
|
dockerfile: e2e/node/Dockerfile.build
|
2024-04-13 07:44:59 +03:00
|
|
|
environment:
|
|
|
|
- GITHUB_TOKEN=${GITHUB_TOKEN}
|
2023-10-16 19:23:53 +03:00
|
|
|
networks:
|
|
|
|
- mtcute-e2e
|
|
|
|
depends_on:
|
|
|
|
- verdaccio
|
|
|
|
test:
|
|
|
|
build:
|
|
|
|
context: .
|
|
|
|
dockerfile: Dockerfile.test
|
|
|
|
environment:
|
|
|
|
- API_ID=${API_ID}
|
|
|
|
- API_HASH=${API_HASH}
|
|
|
|
networks:
|
|
|
|
- mtcute-e2e
|
|
|
|
depends_on:
|
|
|
|
- verdaccio
|
|
|
|
networks:
|
|
|
|
mtcute-e2e: {}
|