Iddc tax cloud server

来自ling
跳转至: 导航搜索

配置信息参见Iddc开发环境#linux

nginx

sudo docker cp nginx:/etc/nginx /alidata/dockerdata
sudo docker run -p 443:80 --link gitlab:gitlab --name nginx -v /alidata/dockerdata/nginx:/etc/nginx -d docker.io/nginx

redis

docker run --name redis --restart=always -v /alidata/dockerdata/redis/data:/data -p 6379:6379 -d redis redis-server --appendonly yes

postsql

docker run --name=postgresql -d -p 5432:5432 --restart=always \
-v /alidata/dockerdata/postgresql/data:/var/lib/postgresql \
--env 'DB_EXTENSION=pg_trgm' \
--env 'PG_PASSWORD=Tax!123456' \
sameersbn/postgresql

gitlab

docker run --name='gitlab' -d \
--link redis:redisio \
--link postgresql:postgresql \
-v /alidata/dockerdata/gitlab/data:/home/git/data \
-p 10022:22 -p 7844:80 \
-e 'DB_ADAPTER=postgresql' -e 'DB_HOST=postgresql' \
-e 'DB_NAME=gitlab' \
-e 'DB_USER=postgres' -e 'DB_PASS=Tax!123456' \
-e 'GITLAB_PORT=80' \
-e 'GITLAB_SSH_PORT=10022' \
-e 'GITLAB_SIGNUP=true' \
-e 'GITLAB_SECRETS_DB_KEY_BASE=long-and-random-alpha-numeric-string' \
-e 'GITLAB_SECRETS_SECRET_KEY_BASE=long-and-random-alpha-numeric-string' \
-e 'GITLAB_SECRETS_OTP_KEY_BASE=long-and-random-alpha-numeric-string' \
sameersbn/gitlab

http://dai.deloitte.com:7844/ root/Dtt!123456789


http://root:Dtt!123456789@127.0.0.1:7844/tax/tax-auth.git

https://cnbejtaxsql01

docker exec -it postgresql bash
psql -U postgres
CREATE DATABASE gitlab
git config --global http.sslVerify false