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
find . -exec touch --date=@0 {} + | |
buildah build \ | |
--format=docker \ | |
-f Dockerfile \ | |
-t "${CONTAINER_REPOSITORY}:${CONTAINER_TAG}" \ | |
--cache-to "${CACHE_REPOSITORY}" \ | |
--cache-from "${CACHE_REPOSITORY}" \ | |
--layers \ | |
--jobs 10 \ | |
. |
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
[program:messenger-consume] | |
command=php -d memory_limit=%(ENV_CRON_MEMORY_LIMIT)s /src/bin/console %(ENV_CRON_COMMAND)s --limit=10 | |
user=root | |
numprocs=1 | |
startsecs=0 | |
autostart=true | |
autorestart=true | |
startretries=10 | |
process_name=%(program_name)s_%(process_num)02d |
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
apiVersion: v1 | |
kind: ConfigMap | |
metadata: | |
name: app | |
data: | |
CONFIG_SOME_VALUE_1: value1 | |
--- | |
apiVersion: v1 | |
data: | |
CONFIG_SOME_SECRET_VALUE_1: c2VjcmV0MQ== |
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
[profile parent] | |
aws_access_key_id = | |
aws_secret_access_key = | |
region = eu-central-1 | |
[profile child] | |
source_profile = parent | |
role_arn = arn:aws:iam::123456789123:role/role | |
region = eu-central-1 |
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
Certificate: | |
Type: AWS::CertificateManager::Certificate | |
Properties: | |
DomainName: !Ref DomainName | |
DomainValidationOptions: | |
- DomainName: !Ref DomainName | |
HostedZoneId: !Ref HostedZoneId | |
ValidationMethod: DNS |
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
name: 'Test and Deploy' | |
on: | |
push: | |
branches: | |
- '*' | |
jobs: | |
ecr-login: | |
runs-on: ubuntu-latest |
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
/go/bin/aws-sigv4-proxy \ | |
--name=es \ | |
--region=eu-west-1 \ | |
--host=redacted.eu-west-1.es.amazonaws.com |
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
version: "3.8" | |
services: | |
frontend: | |
image: nginx | |
labels: | |
- traefik.http.routers.frontend.rule=Host(`lab01.stepanvrany.cz`) | |
- traefik.http.routers.frontend.tls=true | |
- traefik.http.routers.frontend.tls.certresolver=le | |
backend: | |
image: nginx |
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
#!/bin/sh | |
traefik \ | |
--entryPoints.web.address=:80 \ | |
--entryPoints.websecure.address=:443 \ | |
--providers.docker=true \ | |
--certificatesresolvers.le.acme.email=stepan@vrany.dev \ | |
--certificatesresolvers.le.acme.storage=acme.json \ | |
--certificatesresolvers.le.acme.httpchallenge=true \ | |
--certificatesresolvers.le.acme.httpchallenge.entrypoint=web |
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
version: "3.8" | |
services: | |
frontend: | |
image: nginx | |
labels: | |
- traefik.http.routers.my-container.rule=Host(`lab01.stepanvrany.cz`) | |
- traefik.http.routers.my-container.tls=true | |
- traefik.http.routers.my-container.tls.certresolver=le | |
NewerOlder