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

[FEATURE] Docker: add custom mariadb cnf #114

Closed
otbutz opened this issue Jul 26, 2024 · 0 comments · Fixed by #116
Closed

[FEATURE] Docker: add custom mariadb cnf #114

otbutz opened this issue Jul 26, 2024 · 0 comments · Fixed by #116
Assignees

Comments

@otbutz
Copy link

otbutz commented Jul 26, 2024

Describe the feature

The mariadb container allows to bind custom configuration files:

grafik

We could ship a piler.cnf with the recommended settings from the FAQ.

  mysql:
    image: mariadb:11.1.2
    container_name: mysql
    restart: unless-stopped
    cap_drop:
      - ALL
    cap_add:
      - dac_override
      - setuid
      - setgid
    environment:
      - MYSQL_DATABASE=piler
      - MYSQL_USER=piler
      - MYSQL_PASSWORD=piler123
      - MYSQL_RANDOM_ROOT_PASSWORD=yes
    command: --character-set-server=utf8mb4 --collation-server=utf8mb4_unicode_ci
    volumes:
      - db_data:/var/lib/mysql
      - ./piler.cnf:/etc/mysql/conf.d/piler.cnf:ro
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

Successfully merging a pull request may close this issue.

2 participants