Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update docker-compose container db comment to acknowledge n+1 groundswell activation #43

Open
gwright99 opened this issue May 2, 2024 · 0 comments

Comments

@gwright99
Copy link

Existing docker-compose.yml has the following comment re: container db & groundswell:

version: "3"
services:
  db:
    image: mysql:8.0
    platform: linux/amd64
    networks:
      - backend
    expose:
      - 3306
    environment:
      MYSQL_ALLOW_EMPTY_PASSWORD: "yes"
      MYSQL_USER: tower
      MYSQL_PASSWORD: tower
      MYSQL_DATABASE: tower
    healthcheck:
      test: ["CMD", "mysqladmin" , "ping", "-h", "localhost"]
      timeout: 20s
      retries: 10
    restart: always
    volumes:
      #  To use the pipeline resource optimization service, uncomment the lines below to mount the initialization script
      #  - type: bind
      #    source: ./init.sql
      #    target: /docker-entrypoint-initdb.d/init.sql

      # Store the MySQL data in a directory on the host
      - $HOME/.tower/db/mysql:/var/lib/mysql

Uncommenting the init.sql block won't actually work if the data directory already exists.

Guidance should be added to the groundswell comment that post-deployment activation of groundswell requires manual intervention by the system maintainer.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant