Skip to content

Commit

Permalink
Rearrange TPv2 docker-compose files (#7936)
Browse files Browse the repository at this point in the history
  • Loading branch information
zrhoffman authored Feb 7, 2024
1 parent a12ad82 commit 111a0f9
Show file tree
Hide file tree
Showing 3 changed files with 35 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,23 @@
version: '3.8'

services:

trafficportalv2:
tpv2-e2e-test:
build:
context: .
dockerfile: traffic_portal_v2/Dockerfile
context: ../../..
dockerfile: infrastructure/cdn-in-a-box/optional/traffic_portal_v2_e2e_test/Dockerfile
args:
# Change BASE_IMAGE to centos when RHEL_VERSION=7
BASE_IMAGE: ${BASE_IMAGE:-rockylinux}
RHEL_VERSION: ${RHEL_VERSION:-8}
TRAFFIC_PORTAL_RPM: traffic_portal_v2/traffic_portal_v2.rpm
depends_on:
- enroller
domainname: infra.ciab.test
env_file:
- variables.env
hostname: trafficportalv2
image: trafficportalv2
- ../variables.env
environment:
SKIP_DIG_IP: 'true'
hostname: tpv2-e2e
domainname: infra.ciab.test
volumes:
- shared:/shared
- ../../../junit:/junit

volumes:
shared:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,25 +18,6 @@
version: '3.8'

services:
tpv2-e2e-test:
build:
context: ../../..
dockerfile: infrastructure/cdn-in-a-box/optional/traffic_portal_v2_e2e_test/Dockerfile
args:
# Change BASE_IMAGE to centos when RHEL_VERSION=7
BASE_IMAGE: ${BASE_IMAGE:-rockylinux}
RHEL_VERSION: ${RHEL_VERSION:-8}
env_file:
- variables.env
environment:
SKIP_DIG_IP: 'true'
hostname: tpv2-e2e
domainname: infra.ciab.test
volumes:
- shared:/shared
- ../../../junit:/junit

volumes:
shared:
external: false
junit:
trafficportalv2:
ports:
- "8443:443"
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,27 @@
version: '3.8'

services:

trafficportalv2:
ports:
- "8443:443"
build:
context: .
dockerfile: traffic_portal_v2/Dockerfile
args:
# Change BASE_IMAGE to centos when RHEL_VERSION=7
BASE_IMAGE: ${BASE_IMAGE:-rockylinux}
RHEL_VERSION: ${RHEL_VERSION:-8}
TRAFFIC_PORTAL_RPM: traffic_portal_v2/traffic_portal_v2.rpm
depends_on:
- enroller
domainname: infra.ciab.test
env_file:
- ../variables.env
hostname: trafficportalv2
image: trafficportalv2
volumes:
- shared:/shared

volumes:
shared:
external: false
junit:

0 comments on commit 111a0f9

Please sign in to comment.