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

Possible to theme ampache-docker? #69

Open
vinceTheProgrammer opened this issue Sep 3, 2021 · 5 comments
Open

Possible to theme ampache-docker? #69

vinceTheProgrammer opened this issue Sep 3, 2021 · 5 comments

Comments

@vinceTheProgrammer
Copy link

I installed the Ampache container only to realize that there was no ./themes directory to edit the theme of Ampache. I thought maybe if I installed it using the docker-compose method it might work, but while that did give me the ./data folder, I still don't see a way to edit the theme. Is there no way to edit the theme of Ampache while using this Docker container?

I'm new to Docker and Ampache.

Thanks in advance for clarifying this.

@kuzi-moto
Copy link
Member

Hey @vinceTheProgrammer,

I have not been able to test out Ampache since the update to 5 but I believe that the themes directory should be found at /var/www/themes within the container. However, with the release to Ampache 5 this has changed to /var/www/public/themes. If you have updated then you will want to use the latter path.

You may map this to a volume by adding the following line under the volume: section in your docker-compose.yml file (with the currently available docker-compose file which needs an update to version 5):

    volumes:
      - ./data/config:/var/www/config
      - ./data/log:/var/log/ampache
      - ./data/media:/media
      - ./data/mysql:/var/lib/mysql
      - ./data/themes:/var/www/themes

I am not able to test this out, but I believe that Docker should populate this directory on starting the container if the path on the host machine is empty. But, the default theme will not receive any updates if the image updates in the future. I may recommend copying the default theme "reborn" and make a new folder then mount the path to that folder instead. I can elaborate is needed.

@kuzi-moto
Copy link
Member

Note for @lachlan-00, I believe the docket compose file needs to be updated for Ampache 5.

@lachlan-00

This comment has been minimized.

@vinceTheProgrammer
Copy link
Author

@kuzi-moto I added the line to my docker-compose file, made the folder, and copied the reborn theme folder to that newly created folder, and it worked! I now have the themes folder accessible from outside the container! Tysm!

@lachlan-00
Copy link
Member

Note for @lachlan-00, I believe the docket compose file needs to be updated for Ampache 5.

i think it's okay, i don't see anything obvious that needs changing for it so should actually be good

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

3 participants