https://github.com/ansible/awx/blob/devel/tools/docker-compose/README.md
git clone -b 23.6.0 https://github.com/ansible/awx.githttps://github.com/ansible/awx/blob/devel/tools/docker-compose/README.md
git clone -b 23.6.0 https://github.com/ansible/awx.git| services: | |
| mariadb: | |
| image: docker.io/bitnami/mariadb:11.1 | |
| # volumes: | |
| # - 'mariadb_data:/bitnami/mariadb' | |
| environment: | |
| # ALLOW_EMPTY_PASSWORD is recommended only for development. | |
| - ALLOW_EMPTY_PASSWORD=yes | |
| - MARIADB_USER=bn_wordpress | |
| - MARIADB_DATABASE=bitnami_wordpress |
| services: | |
| curlkuma: | |
| image: curlimages/curl:latest | |
| command: sh -c "watch -n30 'curl -s https://example.com'" |
| services: | |
| nats: | |
| image: docker.io/bitnami/nats:2 | |
| environment: | |
| - "NATS_ENABLE_AUTH=yes" | |
| - "NATS_USERNAME=nats" | |
| - "NATS_PASSWORD=my_password" | |
| ports: | |
| # NATS_CLIENT_PORT_NUMBER | |
| - "0.0.0.0:4222:4222" |
| [client] | |
| user=username | |
| password=password |
| services: | |
| sshesame: | |
| image: ghcr.io/jaksi/sshesame | |
| ports: | |
| - "0.0.0.0:22:2022" | |
| logging: | |
| driver: "json-file" | |
| options: | |
| max-size: "10m" | |
| max-file: "5" |
| services: | |
| web: | |
| labels: | |
| - "traefik.http.routers.proj.rule=Host(`proj.traefik.me`)" | |
| - "traefik.http.services.proj.loadbalancer.server.port=8000" | |
| - "traefik.docker.network=traefik" | |
| networks: | |
| - default | |
| - traefik |
| services: | |
| traefik: | |
| image: traefik:v2.10.4 | |
| restart: unless-stopped | |
| command: | |
| - "--serverstransport.insecureskipverify=true" | |
| - "--log.level=ERROR" | |
| - "--accesslog=true" |
| #!/bin/bash | |
| TIME="10" | |
| TEXT="Deploy status: $${1}\nProject: $CI_PROJECT_NAME\nURL: $CI_PROJECT_URL/pipelines/$CI_PIPELINE_ID/\nBranch: $CI_COMMIT_REF_SLUG\nUser: $${GITLAB_USER_NAME}" | |
| curl -s -X POST --max-time $${TIME} \ | |
| -H "X-Auth-Token: Token" \ | |
| -H "X-User-Id: Id" \ | |
| -H "Content-type:application/json" \ | |
| https://example.org/api/v1/chat.postMessage \ |
| #!/bin/bash | |
| # You may want to change this | |
| # Or make a secret variable | |
| TELEGRAM_BOT_TOKEN="" | |
| TELEGRAM_CHAT_ID="" | |
| TIME="10" | |
| URL="https://api.telegram.org/bot$${TELEGRAM_BOT_TOKEN}/sendMessage" | |
| GITLAB_USER_NAME=$(echo $GITLAB_USER_NAME | sed 's/ /%20/g') |