Migrate examples to tests_e2e directory structure
- Relocated all files and scripts from `examples` to `tests_e2e` for better organization. - Updated references and paths in configurations, scripts, and test files. - Adjusted `bump-version.sh` to handle the new `tests_e2e` structure. - Updated `.gitignore` to reflect path changes.
This commit is contained in:
parent
b34d7822e4
commit
d66c4f8595
51 changed files with 35 additions and 35 deletions
58
tests_e2e/docker/docker-compose-portainer-app-example.yml
Normal file
58
tests_e2e/docker/docker-compose-portainer-app-example.yml
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
# ==============================================================================
|
||||
# EXAMPLE: Additional Application with Portainer
|
||||
# ==============================================================================
|
||||
#
|
||||
# WHAT THIS DEMONSTRATES:
|
||||
# - Adding more applications to an existing EasyHAProxy setup
|
||||
# - Using the shared "easyhaproxy" network
|
||||
# - Multiple applications behind the same HAProxy instance
|
||||
#
|
||||
# REQUIREMENTS (run these first):
|
||||
# ```bash
|
||||
# # 1. First start the Portainer stack (creates network and HAProxy)
|
||||
# docker compose -f docker-compose-portainer.yml up -d
|
||||
#
|
||||
# # 2. Edit this file and change:
|
||||
# # - Line 6: easyhaproxy.http.host to your real domain
|
||||
# ```
|
||||
#
|
||||
# HOW TO START:
|
||||
# ```bash
|
||||
# docker compose -f docker-compose-portainer-app-example.yml up -d
|
||||
# ```
|
||||
#
|
||||
# HOW TO VERIFY IT'S WORKING:
|
||||
# ```bash
|
||||
# # Check container is running
|
||||
# docker compose -f docker-compose-portainer-app-example.yml ps
|
||||
#
|
||||
# # Test the application
|
||||
# curl http://test.xpto.us
|
||||
# # OR with /etc/hosts: echo "127.0.0.1 test.xpto.us" | sudo tee -a /etc/hosts
|
||||
#
|
||||
# # Verify both apps in HAProxy stats (port 1936)
|
||||
# # You should see backends for both portainer.xpto.us and test.xpto.us
|
||||
# ```
|
||||
#
|
||||
# CLEAN UP:
|
||||
# ```bash
|
||||
# docker compose -f docker-compose-portainer-app-example.yml down
|
||||
# ```
|
||||
#
|
||||
# ==============================================================================
|
||||
|
||||
services:
|
||||
container:
|
||||
image: byjg/static-httpserver
|
||||
labels:
|
||||
easyhaproxy.http.redirect_ssl: true
|
||||
easyhaproxy.http.host: test.xpto.us
|
||||
easyhaproxy.http.port: 80
|
||||
easyhaproxy.http.localport: 8080
|
||||
easyhaproxy.http.certbot: true
|
||||
|
||||
|
||||
networks:
|
||||
default:
|
||||
name: easyhaproxy
|
||||
external: true
|
||||
Loading…
Add table
Add a link
Reference in a new issue