• 4 Posts
  • 9 Comments
Joined 5 years ago
cake
Cake day: June 10th, 2020

help-circle
  • I want to map the /app/dist/assets/css/themes directory in the container to the host lemmy directory. Thereby, the theme file in the container can be modified on the host machine. Added the following code in docker-compose.yml:

     volumes:
       - ./volumes/lemmy-ui:/app/dist/assets/css/themes
    

    After running the instance, no files appear in the host lemmy/volumes/lemmy-ui directory.

    So, what should I do to map the /app/dist/assets/css/themes directory in the container to the host lemmy directory? ? ?


  • I change the database name to lemmyok in docker-compose.yml and lemmy.hjson, and use the command “docker-compose exec postgres psql -U lemmyok” and get " psql: error: FATAL: role “lemmyok” does not exist ",can’t enter PG.

    If I use the command docker-compose exec postgres psql -U lemmy without changing the database name, I can enter PG normally.

    Am I doing something wrong?

    What should be the correct solution?