-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Transitions to use pytest-docker for managed services
- Loading branch information
Showing
7 changed files
with
78 additions
and
56 deletions.
There are no files selected for viewing
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
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
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
File renamed without changes.
File renamed without changes.
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
18 changes: 5 additions & 13 deletions
18
.docker/docker-compose.ci-test.yml → tests/docker/docker-compose.ci-test.yml
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,19 @@ | ||
# docker-compose file for running testing with gotenberg container | ||
# Can be used locally or by the CI to start the necessary container with the | ||
# correct networking for the tests | ||
|
||
version: "3" | ||
services: | ||
gotenberg-client-test-server: | ||
gotenberg-client-test-edge-server: | ||
image: docker.io/gotenberg/gotenberg:8.11.0 | ||
hostname: gotenberg-client-test-server | ||
container_name: gotenberg-client-test-server | ||
network_mode: host | ||
restart: unless-stopped | ||
ports: | ||
- "3000/tcp" | ||
command: | ||
- "gotenberg" | ||
- "--log-level=warn" | ||
- "--log-level=info" | ||
- "--log-format=text" | ||
nginx-webserver: | ||
image: docker.io/nginx:1-alpine | ||
hostname: nginx-webserver | ||
container_name: nginx-webserver | ||
ports: | ||
- "8888:80" | ||
- "80/tcp" | ||
restart: unless-stopped | ||
environment: | ||
NGINX_ENTRYPOINT_QUIET_LOGS: 1 | ||
volumes: | ||
- ./content:/usr/share/nginx/html:ro |