Skip to content

Commit

Permalink
Try with separate compose file
Browse files Browse the repository at this point in the history
  • Loading branch information
dometto committed May 22, 2024
1 parent 4b3bd21 commit 4eadada
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 38 deletions.
39 changes: 1 addition & 38 deletions molecule/default/prepare.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,44 +7,7 @@
delegate_to: localhost
community.docker.docker_compose_v2:
project_name: ibridges_irods_test
cli_context: ../../docker/irods_catalog
definition:
networks:
common_network:
name: "{{ lookup('env', 'test_network_name')}}"
external: true
services:
irods-catalog:
image: irods-catalog
networks:
- common_network
# build:
# context: ./docker/irods_catalog
environment:
- POSTGRES_PASSWORD=testpassword
irods-catalog-provider:
image: irods-catalog-provider
networks:
- common_network
# build:
# context: ./docker/irods_catalog_provider
# network_mode: host
depends_on:
- irods-catalog
irods-client:
# network_mode: host
image: irods-client
platform: linux/amd64
build:
# context: .
dockerfile: ../../docker/irods_client/Dockerfile
depends_on:
- irods-catalog-provider
tty: true
networks:
- common_network
environment:
- CI=1
project_src: ../files/

- name: Install ibridges
ansible.builtin.pip:
Expand Down
35 changes: 35 additions & 0 deletions molecule/files/docker-compose.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
version: '3'
networks:
common_network:
name: "{{ lookup('env', 'test_network_name')}}"
external: true
services:
irods-catalog:
image: irods-catalog
networks:
- common_network
build:
context: ../../docker/irods_catalog
environment:
- POSTGRES_PASSWORD=testpassword
irods-catalog-provider:
image: irods-catalog-provider
networks:
- common_network
build:
context: ../../docker/irods_catalog_provider
depends_on:
- irods-catalog
irods-client:
image: irods-client
platform: linux/amd64
build:
context: .
dockerfile: ../../docker/irods_client/Dockerfile
depends_on:
- irods-catalog-provider
tty: true
networks:
- common_network
environment:
- CI=1

0 comments on commit 4eadada

Please sign in to comment.