Skip to content

Commit

Permalink
remove replica
Browse files Browse the repository at this point in the history
  • Loading branch information
Tomokazu Tantaka committed Dec 24, 2024
1 parent 726d937 commit a01ce11
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/ci_server.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,11 +25,14 @@ jobs:

ci-server-test:
runs-on: ubuntu-latest
services:
mongo:
image: mongo:7
ports:
- 27017:27017
steps:
- name: checkout
uses: actions/checkout@v3
- name: Docker Compose start
run: docker compose -f $GITHUB_WORKSPACE/docker-compose.yml up -d reearth-mongo
- name: set up
uses: actions/setup-go@v4
with:
Expand Down
2 changes: 0 additions & 2 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -20,5 +20,3 @@ services:
- 27017:27017
volumes:
- ./mongo:/data/db
- ./mongo-init.js:/docker-entrypoint-initdb.d/mongo-init.js:ro
command: ["mongod", "--replSet", "rs0"]
6 changes: 0 additions & 6 deletions mongo-init.js

This file was deleted.

0 comments on commit a01ce11

Please sign in to comment.