Commit 877d1308 authored by nanahira's avatar nanahira

update readme

parent d136d7ca
Pipeline #409 failed with stages
in 6 minutes and 36 seconds
stages:
- build
- deploy
variables:
GIT_DEPTH: "1"
CONTAINER_TEST_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_REF_SLUG
CONTAINER_RELEASE_IMAGE: $CI_REGISTRY_IMAGE:latest
before_script:
- docker login -u $CI_REGISTRY_USER -p $CI_REGISTRY_PASSWORD $CI_REGISTRY
build:
stage: build
tags:
- docker
script:
- docker build --pull -t $CONTAINER_TEST_IMAGE .
- docker push $CONTAINER_TEST_IMAGE
deploy_latest:
stage: deploy
tags:
- docker
script:
- docker pull $CONTAINER_TEST_IMAGE
- docker tag $CONTAINER_TEST_IMAGE $CONTAINER_RELEASE_IMAGE
- docker push $CONTAINER_RELEASE_IMAGE
only:
- master
deploy_tag:
stage: deploy
tags:
- docker
variables:
CONTAINER_TAG_IMAGE: $CI_REGISTRY_IMAGE:$CI_COMMIT_TAG
script:
- docker pull $CONTAINER_TEST_IMAGE
- docker tag $CONTAINER_TEST_IMAGE $CONTAINER_TAG_IMAGE
- docker push $CONTAINER_TAG_IMAGE
only:
- tags
......@@ -21,7 +21,6 @@ This project may possibly be working only with Hisoutensoku ver 1.10a. Versions
```yaml
coolq: # CoolQ config. The docker-compose config below meets this configuration.
host: coolq
accessToken: aaaaa
qq: 1111111111 # Your QQ account here
attackTimeout: 10000 # The timeout the fake clients would wait for connection.
floodQQGroups: # Target QQ groups
......@@ -37,18 +36,12 @@ version: '2.4'
services:
coolq:
restart: always
image: richardchien/cqhttp
ports:
- 9000:9000
image: nanahira/go-cqhttp
volumes:
- ./coolq:/home/usr/coolq
- ./coolq:/data
environment:
VNC_PASSWD: YOUR_VNC_PASSWORD_HERE # Please change this
COOLQ_ACCOUNT: 1111111111 # Your QQ account here
FORCE_ENV: 'true'
CQHTTP_USE_WS: 'true'
CQHTTP_SERVE_DATA_FILES: 'true'
CQHTTP_ACCESS_TOKEN: aaaaa # The above access token and secrets. Since the containers are not exposed to the public, you may not use strong ones.
UIN: 1111111111 # Your QQ account here
PASS: aaaaaaaaa # Your QQ password here
terminator:
restart: always
image: nanahira/hisoutensoku-terminator
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment