全文検索:
- 09 Dockerリバースプロキシ(HTTPS)
- ====== 09 Dockerリバースプロキシ(HTTPS) ====== こちらの方が便利かも[[06_virtualization:05_container:25_let_s_encrypt_prox... proxy_request_buffering off; proxy_pass http://reverse.com/; proxy_redirect off; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-For $p... proxy_request_buffering off; proxy_pass http://reverse2.com/; proxy_redirect off;
- 12 Kubernetes
- == <code> apt update apt install -y apt-transport-https ca-certificates curl software-properties-common </code> ==== Docker GDG ==== curl -fsSL https://download.docker.com/linux/ubuntu/gpg | apt-key... <code> add-apt-repository \ "deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_r... ernetesインストール ===== ==== GPG key ==== curl -s https://packages.cloud.google.com/apt/doc/apt-key.gpg
- 30 React-admin
- ====== 30 React-admin ====== キレイでシンプルなデザインの[[https://marmelab.com/react-admin/Demos.html|React-admin]]を入れてみる。 Githubは[[https://github.com/marmelab/react-admin|こちら]] ===== 1... r A data provider based on the JSON Server API (https://github.com/typicode/json-server) Simple REST A Simple REST data provider (https://github.com/marmelab/react-admin/tree/master/pa
- 02 Docker Compose docker-compose
- ットでコンテナ作ってくれて便利簡単。 ===== インストール ===== curl -L https://github.com/docker/compose/releases/download/1.... /docker-compose ==== ※2022.12.01最新版 ==== 最新版は、[[https://github.com/docker/compose/releases/]]を確認。 <code> curl -L https://github.com/docker/compose/releases/download/v2... てくれる # docker-compose up -d ==== 表示確認 ==== [[http://localhost:8000]] {{:06_virtualization:05_conta
- 08 docker-compose Nginx
- ocker-compose.yml> --- version: "2.1" services: https-portal: image: steveltn/https-portal:1 ports: - '80:80' - '443:443' links: ... ronment: DOMAINS: 'testwiki.hogehoge.com -> http://web' STAGE: 'local' #STAGE: 'produc... # #location ~ \.php$ { # proxy_pass http://127.0.0.1; #} # pass the PHP scripts t
- 10 Docker Let's Encrypt
- Lサイトにリダイレクト #location / { # return 301 https://$host$request_uri; #} # 例外的に証明書更新時のle... Lサイトにリダイレクト #location / { # return 301 https://$host$request_uri; #} # 例外的に証明書更新時のle... server_name example.com; listen 443 ssl http2; listen [::]:443 ssl http2; ssl_certificate /etc/letsencrypt/live/example.com/fullchain.
- 16 Kubernetes + DRBD Linstor
- rとlinstor-satelliteというデータディスクを扱うプログラムで構成されてます。 [[https://github.com/LINBIT/linstor-server]] {{:06_virt... m repository登録 ==== <code> helm repo add linstor https://charts.linstor.io # helm repo list NAME URL linstor https://charts.linstor.io </code> ==== linstor-opインス... tor.etcd.enabled=false \ --set controllerEndpoint=http://172.16.0.65:3370 </code> ==== 確認 ==== ちゃんとpo
- 22 Docker Private registry
- ontainer:11_docker_create_image]] ==== insecure(HTTP)で通信できるようにしておく ==== <code> # cat << __EOM__ | tee... 0.10:4000/my-centos7:latest 確認 <code> $ curl -sk http://192.168.10.10:4000/v2/_catalog | jq { "reposi... centos7 ===== image一覧確認 ===== <code> $ curl -sk http://192.168.10.10:4000/v2/_catalog | jq { "reposi... code> ===== imageのタグ一覧 ===== <code> $ curl -sk http://192.168.10.201:4000/v2/kolla/haproxy/tags/list
- 04 Docker MailServer
- erver ====== メールサーバも普通にたてるより、Dockerで作った方が良いかも [[https://github.com/docker-mailserver/docker-mailserver... ===== 2. git clone ===== cd /app/ git clone https://github.com/docker-mailserver/docker-mailserver... re information about the mail-server ports: # https://docker-mailserver.github.io/docker-mailserver/
- 05 Docker Nginx reverse proxy
- ginx.conf> events { worker_connections 16; } http { proxy_cache_path /var/cache/nginx keys_zone... proxy_redirect off; proxy_pass http://example.com:8080/; # 基本はキャッシュしない ... $do_not_cache; proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Fo
- 11 Docker image 作成
- ENV DEBIAN_FRONTEND noninteractive RUN echo 'deb http://archive.debian.org/debian wheezy main' > /etc/a... et RUN apt-get install -y procps vim RUN \ wget http://repo.zabbix.com/zabbix/2.2/debian/pool/main/z/z
- 20 Kubernetes GlusterFS Galera Wordpress
- aはダウンしても、起動してきたとき勝手に同期してよく出来てます。 Galeraは、下記を利用 [[https://github.com/bitnami/charts/tree/master/bitnami/... ]] ==== repository ==== helm repo add bitnami https://charts.bitnami.com/bitnami ==== install ====
- 25 Let's Encrypt リバースプロキシ
- dokuwiki.fl8.jp, request: "POST /lib/exe/ajax.php HTTP/2.0", host: "dokuwiki.fl8.jp", referrer: "https://dokuwiki.fl8.jp/?do=edit" </code> ===== リバースプロキシを利用す
- 29 Next.js
- js ====== ===== 1 ファイル用意 ===== node.jsのバージョンは、[[https://nodejs.org/en|ここ]]で確認 <code|Dockerfile> FROM ... docker-compose up -d ===== 5 確認 ===== ブラウザで http://[IP]:3000 をアクセス {{:06_virtualization:05_contai
- 03 Docker 一括削除
- ====== 03 Docker 一括削除 ====== [[https://qiita.com/boiyama/items/9972601ffc240553e1f3]] ===== 全コンテナ一括削除