mirror of
https://github.com/rasilon/ujetl.git
synced 2026-04-11 10:29:29 +00:00
Add dockerised tests
This commit is contained in:
parent
3badb97d49
commit
5571bd1b4d
14 changed files with 143 additions and 76 deletions
23
docker/test_compose/docker-compose.yml
Normal file
23
docker/test_compose/docker-compose.yml
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# This is a sample to help put the full application together
|
||||
|
||||
version: '3.3'
|
||||
|
||||
services:
|
||||
testdb:
|
||||
image: rasilon/ujetl_testdb:latest
|
||||
build:
|
||||
context: ../test_db
|
||||
environment:
|
||||
POSTGRES_USER: postgres
|
||||
POSTGRES_PASSWORD: password
|
||||
POSTGRES_DB: postgres
|
||||
tests:
|
||||
image: rasilon/ujetl_test:latest
|
||||
build:
|
||||
context: ../multistage
|
||||
links:
|
||||
- "testdb"
|
||||
command: ["/wait_for_postgres", "/ujetl_entrypoint"]
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue