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
apiVersion: apps/v1 | |
kind: Deployment | |
metadata: | |
labels: | |
app: mysql-db | |
name: mysqldb-deployment | |
spec: | |
replicas: 1 | |
selector: | |
matchLabels: |
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
apiVersion: v1 | |
kind: PersistentVolumeClaim | |
metadata: | |
name: db-data-pvc | |
spec: | |
storageClassName: generic | |
accessModes: | |
- ReadWriteOnce | |
resources: | |
requests: |
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
apiVersion: v1 | |
kind: PersistentVolume | |
metadata: | |
name: db-data-pv | |
labels: | |
type: local | |
spec: | |
storageClassName: generic | |
capacity: | |
storage: 1Gi |
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.7' | |
networks: | |
railsapp: | |
external: false | |
volumes: | |
db_data: | |
services: |
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
name: CI-MASTER-DEPLOY | |
on: | |
push: | |
branches: | |
- source | |
jobs: | |
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
DOCS_BUILD_IMAGE ?= wshihadeh-docs | |
DOCS_CHECK_IMAGE ?= $(DOCS_BUILD_IMAGE)-check | |
SITE_DIR := $(CURDIR)/site | |
DOCKER_RUN_DOC_PORT := 8000 | |
DOCKER_RUN_DOC_MOUNTS := -v $(CURDIR):/mkdocs | |
DOCKER_RUN_DOC_OPTS := --rm $(DOCKER_RUN_DOC_MOUNTS) -p $(DOCKER_RUN_DOC_PORT):8000 | |
# Default: generates the documentation into $(SITE_DIR) |
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
FROM alpine:3.10 as alpine | |
RUN apk --no-cache --no-progress add \ | |
libcurl \ | |
ruby \ | |
ruby-bigdecimal \ | |
ruby-etc \ | |
ruby-ffi \ | |
ruby-json \ | |
ruby-nokogiri |
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
{ | |
"no-hard-tabs": false, | |
"MD007": { "indent": 4 }, | |
"MD009": false, | |
"MD013": false, | |
"MD024": false, | |
"MD026": false, | |
"MD033": false, | |
"MD034": false, | |
"MD036": false, |
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
FROM alpine:3.10 | |
ENV PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/root/.local/bin | |
COPY requirements.txt /mkdocs/ | |
WORKDIR /mkdocs | |
VOLUME /mkdocs | |
RUN apk --no-cache --no-progress add py3-pip \ | |
&& pip3 install --user -r requirements.txt |
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
site_name: Al-waleed Shihadeh | |
site_description: Al-waleed Shihadeh | |
site_author: wshihadeh | |
site_url: https://wshihadeh.github.io | |
dev_addr: 0.0.0.0:8000 | |
repo_name: 'GitHub' | |
repo_url: 'https://github.com/wshihadeh/wshihadeh.github.io' | |
docs_dir: 'docs' |