- Open Telegram application then search for
@BotFather
- Click Start
- Click Menu -> /newbot or type
/newbot
and hit Send - Follow the instruction until we get message like so
Done! Congratulations on your new bot. You will find it at t.me/new_bot.
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.5' | |
services: | |
app: | |
image: swarmpit/swarmpit:latest | |
environment: | |
- VERSION=${DOCKER_VERSION:-19.03.2} | |
- SWARMPIT_DB=http://db:5984 | |
- SWARMPIT_INFLUXDB=http://influxdb:8086 | |
- INTERACTIVE=0 |
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 | |
## Change permission folders: 0755 ## | |
# find /home/zeroc0d3/Documents/Repositories/DevOpsCorner -type d -exec chmod 755 {} + | |
## Change permission files: 0644 ## | |
# find /home/zeroc0d3/Documents/Repositories/DevOpsCorner -type f -exec chmod 644 {} + | |
## Change permission spesific files: 0755 (executable) ## | |
# find /home/zeroc0d3/Documents/Repositories/DevOpsCorner -name '*.sh' | xargs chmod 755 |
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
ARG BUILD_DATE | |
ARG BUILD_VERSION | |
ARG GIT_COMMIT | |
ARG GIT_URL | |
ARG ALPINE_VERSION=3.15 | |
### Builder ### | |
FROM python:3.10.5-alpine${ALPINE_VERSION} as builder | |
ARG AWS_CLI_VERSION=2.9.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
ARG BUILD_DATE | |
ARG BUILD_VERSION | |
ARG GIT_COMMIT | |
ARG GIT_URL | |
ARG ALPINE_VERSION=3.16 | |
### Builder ### | |
FROM python:3.10.5-alpine${ALPINE_VERSION} as builder | |
ARG AWS_CLI_VERSION=2.9.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
#!/usr/bin/env sh | |
# ----------------------------------------------------------------------------- | |
# Docker Build Container (DockerHub) | |
# ----------------------------------------------------------------------------- | |
# Author : Dwi Fahni Denni | |
# License : Apache v2 | |
# ----------------------------------------------------------------------------- | |
set -e | |
# export CI_PROJECT_PATH="devopscorner" |
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
#!/usr/bin/env sh | |
# ----------------------------------------------------------------------------- | |
# Docker Tag Container (DockerHub) | |
# ----------------------------------------------------------------------------- | |
# Author : Dwi Fahni Denni | |
# License : Apache v2 | |
# ----------------------------------------------------------------------------- | |
set -e | |
# export CI_PROJECT_PATH="devopscorner" |
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
#!/usr/bin/env sh | |
# ----------------------------------------------------------------------------- | |
# Docker Push Container (DockerHub) | |
# ----------------------------------------------------------------------------- | |
# Author : Dwi Fahni Denni | |
# License : Apache v2 | |
# ----------------------------------------------------------------------------- | |
set -e | |
# export CI_PROJECT_PATH="devopscorner" |
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
#!/usr/bin/env sh | |
# ----------------------------------------------------------------------------- | |
# Docker Build Container (Elastic Container Registry - ECR) | |
# ----------------------------------------------------------------------------- | |
# Author : Dwi Fahni Denni | |
# License : Apache v2 | |
# ----------------------------------------------------------------------------- | |
set -e | |
export AWS_ACCOUNT_ID=$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
#!/usr/bin/env sh | |
# ----------------------------------------------------------------------------- | |
# Docker Push Container (Elastic Container Registry - ECR) | |
# ----------------------------------------------------------------------------- | |
# Author : Dwi Fahni Denni | |
# License : Apache v2 | |
# ----------------------------------------------------------------------------- | |
set -e | |
export AWS_ACCOUNT_ID=$1 |
NewerOlder