Skip to content

Commit

Permalink
30 - Action create must not check db connection
Browse files Browse the repository at this point in the history
  • Loading branch information
raoptimus committed Dec 8, 2023
1 parent 738a431 commit fa5b43f
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
- name: Sleep for 5 seconds
uses: jakejarvis/wait-action@master
with:
time: '5s'
time: '10s'

- name: Run ps
run: docker-compose -f "docker-compose.yml" ps
Expand Down
10 changes: 10 additions & 0 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ services:
- clickhouse2
- postgres
- mysql
links:
- clickhouse
- clickhouse1
- clickhouse2
- postgres
- mysql
volumes:
- "./:/usr/src/app"
- "~/.cache/go-build:/root/.cache/go-build"
Expand All @@ -52,6 +58,8 @@ services:
- "./docker/volume/clickhouse-cluster/config/config_replica.xml:/etc/clickhouse-server/clickhouse_replication_config.xml"
depends_on:
- zookeeper
links:
- zookeeper

clickhouse2:
image: yandex/clickhouse-server:21.3.20.1-alpine
Expand All @@ -61,3 +69,5 @@ services:
- "./docker/volume/clickhouse-cluster/config/config_replica.xml:/etc/clickhouse-server/clickhouse_replication_config.xml"
depends_on:
- zookeeper
links:
- zookeeper
8 changes: 0 additions & 8 deletions docker/volume/clickhouse-cluster/config/config_replica.xml
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,4 @@
<port>2181</port>
</node>
</zookeeper-servers>

<zookeeper>
<node index="1">
<host>zookeeper</host>
<port>2181</port>
</node>
<!-- <identity>user:password</identity>-->
</zookeeper>
</yandex>

0 comments on commit fa5b43f

Please sign in to comment.