全文検索:
- 34 UnboundでHA構成
- od +x /etc/keepalived/chk_gateway </code> ==== 4.notify用意 ==== <code> cat << __EOM__ > /etc/keepalived/keepalived_notify.sh #!/bin/bash INSTANCE=$1 INTERFACE=$2 STAT... MASTER, bringing up ens5 " >> /var/log/keepalived_notify.log arptables -F OUTPUT ;; ... AULT, bringing down ens5 " >> /var/log/keepalived_notify.log if [ "$(arptables -L OUTPUT -nv |
- 33 Let's Encrypt リバースプロキシ(手動板)+ GitLab
- docker-compose exec web gitlab-rails console Notify.test_email('hogehoge@hogehoge.com', 'From GitLab', 'GitLab Test Mail').deliver_now {{tag>日記 nginx proxy docker GitLab git}}
- 25 Let's Encrypt リバースプロキシ
- host host local 4045783681f8 none null local </code> <code> --
- 31 Docker FTP Server
- グ確認 ===== これでログを表示させながら、FTP接続してみる DEBUG多いと見ずらいので、NOTICEとINFOだけ出力が良いかも <code> # docker-compose logs --tail 10 -f | grep 'NOTICE\|INFO' </code> {{tag>Docker FTP}}
- 04 Docker MailServer
- # To avoid conflicts with yaml base-60 float, DO NOT remove the quotation marks. ports: - "
- 30 React-admin
- ら]] ===== 1 ファイル用意 ===== <code|Dockerfile> FROM node:18.12.1-alpine WORKDIR /usr/src/app </code> <c... ode|docker-compose.yml> version: '3' services: node: container_name: "react" build: . v... ode|docker-compose.yml> version: '3' services: node: container_name: "react" build: . v... は好きなアプリ名を入れる。</color> docker-compose run --rm node sh -c 'npm create react-admin [test-admin]' <c
- 28 Docker React
- act cd /app/react </code> <code|Dockerfile> FROM node:18.12.1-alpine WORKDIR /usr/src/app </code> <... ode|docker-compose.yml> version: '3' services: node: container_name: "react" build: . v... は好きなアプリ名を入れる。</color> docker-compose run --rm node sh -c 'npx create-react-app [my-app] --template
- 29 Next.js
- ====== 29 Next.js ====== ===== 1 ファイル用意 ===== node.jsのバージョンは、[[https://nodejs.org/en|ここ]]で確認 <code|Dockerfile> FROM node:20.10.0 WORKDIR /usr/src/app </code> <code|docker-compose.yml> version: '3' services: node: container_name: "react" build: . v