Sign inSign up

mac641/audio-converter

By mac641

•Updated almost 2 years ago

audio-converter allows you to convert audio files from within your web browser.

Image
1

305

mac641/audio-converter repository overview

⁠audio-converter

audio-converter allows you to convert audio files from within your web browser.

⁠Usage

  1. Create a new directory which will hold all interactive files (e.g. the database, logs, converted files) by typing mkdir -p media in a terminal.
  2. Execute the following commands to turn your previously created directory into a python module and generate the user_config template:
cat << EOF > media/user_config.py
class Settings:
  MAIL_PASSWORD = '********'  # Enter the password of your mail server.
  MAIL_USERNAME = '[email protected]'  # Enter the email address of your mail server.
  SECRET_KEY = 'secretkey'  # Enter a safety secretkey.
  SECURITY_PASSWORD_SALT = 'secretsalt'  # Enter a safety secretsalt.
  ADMIN_PASSWORD = '********'  # Enter an individual password for the admin account."
EOF
chmod 666 media/user_config.py
touch media/__init__.py
chmod 666 media/__init__.py
  1. Run the following command to start the server.
docker run -d --name audio-converter -p 8080:8080 \
-e TZ=Europe/Berlin \
-v "/absolute/path/to/media:/app/media:rw" \
mac641/audio-converter:latest

NOTE: /absolute/path/to/media has to be replaced with the real absolute path to the previously created media directory. TZ can be assigned to any timezone you want the container to work with.

Tag summary

Content type

Image

Digest

sha256:eb83b6e0b…

Size

301.2 MB

Last updated

about 4 years ago

docker pull mac641/audio-converter