This file contains hidden or 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
| WOODPECKER_HOST=https://example.com | |
| WOODPECKER_AGENT_SECRET=1234567890abcdefghijklmnopqrstuvw | |
| WOODPECKER_FORGEJO=true | |
| WOODPECKER_FORGEJO_URL=https://codeberg.org | |
| WOODPECKER_FORGEJO_CLIENT=<client_id> | |
| WOODPECKER_FORGEJO_SECRET=<client_secret> |
This file contains hidden or 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
| jib { | |
| container { | |
| creationTime.set(DateTimeFormatter.ISO_DATE_TIME.format(Instant.now().atZone(ZoneId.of("UTC")))) | |
| } | |
| to { | |
| image = "<redacted_registry_url>/<redacted_repository_name>/<redacted_image_name>" | |
| tags = if (project.hasProperty("app.version")) { |
This file contains hidden or 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
| when: | |
| - event: tag | |
| steps: | |
| - name: push-image | |
| image: eclipse-temurin:17-jdk-alpine | |
| environment: | |
| REGISTRY_USERNAME: | |
| from_secret: registry_username | |
| REGISTRY_PASSWORD: |
This file contains hidden or 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
| when: | |
| - event: push | |
| branch: main | |
| steps: | |
| - name: build | |
| image: eclipse-temurin:17-jdk-alpine | |
| commands: | |
| - ./gradlew clean build |
This file contains hidden or 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
| server { | |
| # ... | |
| location = /.well-known/carddav { return 301 /remote.php/dav/; } | |
| location = /.well-known/caldav { return 301 /remote.php/dav/; } | |
| location = /.well-known/webfinger { return 301 /index.php/.well-known/webfinger; } | |
| location = /.well-known/nodeinfo { return 301 /index.php/.well-known/nodeinfo; } | |
| # ... |
This file contains hidden or 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
| zip( | |
| userGateway.getUsers(), | |
| ordersGateway.getOrders() | |
| ) { | |
| UsersAndOrders( | |
| it[0] as Users, | |
| it[1] as Orders | |
| ) | |
| } |
This file contains hidden or 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
| Mono.zip( | |
| userGateway.getUsers(), | |
| ordersGateway.getOrders() | |
| ) | |
| .map { (users, orders) -> | |
| UsersAndOrder(users, orders) | |
| } |
This file contains hidden or 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.1' | |
| services: | |
| wordpress: | |
| image: wordpress | |
| restart: always | |
| environment: | |
| WORDPRESS_DB_HOST: db | |
| WORDPRESS_DB_USER: ${MYSQL_USER} | |
| WORDPRESS_DB_PASSWORD: ${MYSQL_PASSWORD} | |
| WORDPRESS_DB_NAME: ${MYSQL_DATABASE} |
This file contains hidden or 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/bash | |
| while getopts d:e: flag | |
| do | |
| case "${flag}" in | |
| d) domain=${OPTARG};; | |
| e) email=${OPTARG};; | |
| esac | |
| done |
This file contains hidden or 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' | |
| services: | |
| nginx: | |
| image: nginx:1.25.2 | |
| container_name: nginx | |
| restart: always | |
| volumes: | |
| - ./conf/nginx.conf:/etc/nginx/nginx.conf | |
| - ./conf/conf.d:/etc/nginx/conf.d | |
| - ./data/certbot/conf:/etc/letsencrypt |
NewerOlder