AWS S3 儲存體 Bucket Policy byDavid Chiang •09:36 { "Version": "2012-10-17", "Statement": [ { "Sid": "Statement1", "Effect": "Allow", "Principal":…
SRE nextcloud byDavid Chiang •16:11 touch docker-compose.yml https://gist.github.com/ichiTechs/83e228fa1e6c83543623a1bf06f3eb32#file-docker-compose-yml root@Next:~/nextcloud# cat docker-compose.yml version: '2' services: nextcloud: container_name: n…
SRE bookstack byDavid Chiang •15:55 bookstack docker run -d --net bookstack_nw \ -e DB_HOST=bookstack_db:3306 \ -e DB_DATABASE=bookstack \ -e DB_USERNAME=bookstack \ -e DB_PASSWORD=secret \ -e APP_URL=http://192.168.88.5 \ -p 80:8080 \ --name="bookstack_22.0…
SRE Gitlab CE byDavid Chiang •15:54 sudo docker run --detach \ --hostname gitlab. david888.com \ --publish 443:443 --publish 80:80 \ --name gitlab \ --restart always \ --volume /gitlab/config:/etc/gitlab \ --volume /gitlab/logs:/var/log/gitlab \ --volume /gitl…
SRE. Docker byDavid Chiang •15:50 # 必裝 portainer docker run -d -p 9000:9000 --restart=always --name portainer -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer # 啟用 Docker service 與開機自動啟用 sudo systemctl start docker sudo systemctl enable docker