Last active
July 18, 2020 09:28
-
-
Save iainporter/e9f7a2932a693e9ddf65f92b69c14b9d to your computer and use it in GitHub Desktop.
docker-compose file for simple testcontainers testing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
version: '3' | |
services: | |
postgres-db: | |
image: postgres:11 | |
environment: | |
- POSTGRES_USER=postgres | |
- POSTGRES_PASSWORD=postgres | |
- POSTGRES_DB=sms | |
sms-service: | |
image: porterhead/sms-service | |
environment: | |
WAIT_HOSTS: postgres-db:5432 | |
quarkus.datasource.username: postgres | |
quarkus.datasource.password: postgres | |
quarkus.datasource.jdbc.url: jdbc:postgresql://postgres-db:5432/sms | |
depends_on: | |
- postgres-db |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment