#!/bin/bash
docker run -d --name='tinyproxy' -p 8888:8888 registry.cn-hangzhou.aliyuncs.com/chendawei/tinyproxy:latest ANY

docker run --name mysql57  -d  -p 3306:3306 --restart=always -v /data/mysql:/var/lib/mysql  -e MYSQL_ROOT_PASSWORD=root  registry.cn-hangzhou.aliyuncs.com/chendawei/mysql:5.7

docker run --name redis -p 6379:6379 -e REDIS_PASSWORD=Redis@20220829 -d  registry.cn-hangzhou.aliyuncs.com/chendawei/bitnami-redis

docker run --name hyperf -v /workspace/skeleton:/data/project -w /data/project -p 9501:9501 -it --privileged -u root --entrypoint /bin/sh hyperf/hyperf:8.1-alpine-v3.18-swoole

docker run --name  php-fpm -p 9001:9000 -v /data/www:/var/www/html  -d  php-pdo

docker tag php-pdo:latest registry.cn-hangzhou.aliyuncs.com/chendawei/php-pdo:20241010


docker run --restart=unless-stopped  --name nginx -p 80:80  -p 443:443 -v /data/www:/usr/share/nginx/html -v /data/nginx/conf.d:/etc/nginx/conf.d  -v /data/nginx/ssl:/etc/nginx/ssl      -d  registry.cn-hangzhou.aliyuncs.com/chendawei/nginx:latest


docker run --name  php-fpm -p 9000:9000 -v /data/phpsource:/var/www/html  -d  registry.cn-hangzhou.aliyuncs.com/chendawei/php:7.4-fpm


docker run --name  py-online --network host -v /data/py-space/docker:/home/jovyan/work  \
-e NB_UID=$(id -u) \
-e NB_GID=$(id -g) \
-d registry.cn-hangzhou.aliyuncs.com/chendawei/jupyter-scipy-notebook:latest


docker system prune -a