Skip to content

Commit d734fec

Browse files
committed
Changed the api port back to a static configuration
tox does not properly expose the port when dynamically allocated in the circleci VM. If I manually ssh into the VM and I spin up the network it works just fine. It's really the tox layer causing the issue. Tox does work for statically allocated ports so I'm reverting back to that. If I run tox locally with the dynamically allocated ports it works like a charm so I don't know what's wrong. Maybe something with tox-pyenv?
1 parent 1ef0fef commit d734fec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/pytest_docker_compose_tests/my_network/docker-compose.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ services:
44
my_api_service:
55
build: ./a_buildable_container
66
ports:
7-
- "5000"
7+
- "5000:5000"
88
depends_on:
99
- my_db
1010
restart: on-failure

0 commit comments

Comments
 (0)