-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathdocker-compose.integration.yml
35 lines (33 loc) · 1.13 KB
/
docker-compose.integration.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# SPDX-FileCopyrightText: 2017-2022 City of Espoo
#
# SPDX-License-Identifier: LGPL-2.1-or-later
# Docker Compose file that can be used for development builds and that links
# against the development Docker files. Do not mistaken these with production
# docker files that the other compose files deal with.
#
# Tips and Tricks
# ===============
#
# If you need to target a local service instead you can use
# a pseudo address docker.for.mac.localhost when running on OXS.
# E.g. to target local application service set APPLICATION_API_URL: http://docker.for.mac.localhost:8080
version: '3.5'
services:
integration-test:
image: ghcr.io/espoon-voltti/evaka/service-builder:${TAG:-master}
build:
context: ..
target: builder
dockerfile: service/Dockerfile
cache_from:
- ghcr.io/espoon-voltti/evaka/service-builder:cache-${CACHE_TAG:-master}
- ghcr.io/espoon-voltti/evaka/service-builder:cache-master
volumes:
- ./test-results/:/evaka/service/build/test-results/
depends_on:
- db
- redis
- s3-mock
ipc: host
network_mode: host
entrypoint: ./gradlew integrationTest