Code Monkey home page Code Monkey logo

docker-babybuddy's Introduction

Docker Baby Buddy

No Maintenance Intended Docker Image Version (latest by date) Docker Pulls GitHub ci lint pre-commit

⛔  DEPRECATED A multi-architecture image for Baby Buddy.

This image has been depcrecated. Please use the linuxserver.io version instead.

Dependencies

  • sqlite
  • postgres (optional)

Usage

docker cli

sqlite

$ docker run -d \
  --name=babybuddy \
  -e ALLOWED_HOSTS=* \                `# comma separated list of IP addresses or hosts that can access the web UI`
  -e DJANGO_SETTINGS_MODULE=babybuddy.settings.base
  -e SECRET_KEY="password" \          `# Generate a random string here to secure the Django instance`
  -e TIME_ZONE=America/Los_Angeles \  `# In the tzdata format, IE, "America/Denver"`
  -e DEBUG=False \                    `# Turn to False in production`
  -p 8000:8000 \
  --restart unless-stopped \
  nicholaswilde/babybuddy

docker-compose

Configuration

Login

default user password
admin admin

Volumes

user uid
abc 911
$ chown -R 911:911 ./data

Development

See docs.

Note: This image can't be pushed to the image registries using github-actions because it takes too long to build and timeouts.

Troubleshooting

See docs.

Pre-commit hook

If you want to automatically generate README.md files with a pre-commit hook, make sure you install the pre-commit binary, and add a .pre-commit-config.yaml file to your project. Then run:

$ pre-commit install
$ pre-commit install-hooks

Currently, this only works on amd64 systems.

License

Apache 2.0 License

Author

This project was started in 2021 by Nicholas Wilde.

docker-babybuddy's People

Contributors

dependabot[bot] avatar nicholaswilde avatar

Stargazers

 avatar

Watchers

 avatar  avatar  avatar

docker-babybuddy's Issues

Support PUID and GUID environment variables

It would be nice to support PUID and GUID environment variables so that you can set the user/group to whatever you want. The linuxserverio images support that.

PS. Thanks for providing multi-platform images.

Tell me more about this...

Hi @nicholaswilde 👋 -- I'm curious to know more about why you created this implementation. I'm not terribly familiar with Docker so Baby Buddy's implementation has always been somewhat haphazard. If what you have going here is a better general purpose approach I'd love to make it the "official" Baby Buddy for Docker path. Please let me know your thoughts.

FTR this repo was pointed out to me in babybuddy/babybuddy#199.

Add mariadb support

Currently, mariadb throws an error when trying use mariadb instead of postgres.

  • install gcc for mysqlclient
  • install default-libmysqlclient-dev
  • pip3 install mysqlclient
  • Remove python3-mysqldb

Perhaps this will help babybuddy/babybuddy#154

armv7 Error

Version: v1.5.0-ls1

When running on armv7 this error shows up.

$ docker-compose -f docker-compose.postgres.yaml up
...
django.core.exceptions.ImproperlyConfigured: Error loading psycopg2 module: libpq.so.5: cannot open shared object file: No such file or directory

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.