You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you want to create it manually, you can use the following content:
23
+
24
+
```{literalinclude} ../docker/docker-compose.yaml
25
+
```
26
+
22
27
3. Edit the docker-compose.yaml file! Please change the configuration and volume paths, otherwise the application might not start or work correctly. See the [configuration](configuration) section for more information.
23
28
24
29
4. Start the application using docker-compose.
@@ -29,19 +34,14 @@ docker-compose up
29
34
30
35
The application should now be available at `http://localhost:5001`!
31
36
37
+
32
38
## Using docker
33
39
34
40
Similarly, you can also run the application using docker directly. Feel free to adjust the following command to your needs.
35
41
36
-
```bash
37
-
docker run -d -p 5001:5001 \
38
-
-e USER_ID=1000 \
39
-
-e GROUP_ID=1000 \
40
-
-v /wherever/config/:/config \
41
-
-v /music_path/inbox/:/music_path/inbox/ \
42
-
-v /music_path/clean/:/music_path/clean/ \
43
-
--name beets-flask \
44
-
pspitzner/beets-flask:stable
42
+
```{include} ../README.md
43
+
:start-after: <!-- start setup container -->
44
+
:end-before: <!-- end setup container -->
45
45
```
46
46
47
47
(configuration)=
@@ -51,7 +51,7 @@ docker run -d -p 5001:5001 \
51
51
On first container launch, config files are automatically generated in the mounted `/config` folder. Configurations are read from `config/beets/config.yaml` and `config/beets-flask/config.yaml` (the latter takes precedence).
52
52
53
53
```{warning}
54
-
Configuration changes are only applied on container restart. Restat your container with `docker restart beets-flask` after changing a configuration
54
+
Configuration changes are only applied on container restart. Restart your container with `docker restart beets-flask` after changing a configuration
0 commit comments