Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
Funkwhale Docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Creak
Funkwhale Docker
Commits
30c70ca4
Commit
30c70ca4
authored
3 years ago
by
Creak
Browse files
Options
Downloads
Patches
Plain Diff
Add clean script
parent
cf3830d6
No related branches found
No related tags found
No related merge requests found
Pipeline
#19066
failed
3 years ago
Stage: test
Changes
3
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitlab-ci.yml
+1
-1
1 addition, 1 deletion
.gitlab-ci.yml
README.md
+15
-0
15 additions, 0 deletions
README.md
clean.sh
+22
-0
22 additions, 0 deletions
clean.sh
with
38 additions
and
1 deletion
.gitlab-ci.yml
+
1
−
1
View file @
30c70ca4
...
...
@@ -5,4 +5,4 @@ linter:
stage
:
test
image
:
koalaman/shellcheck-alpine
script
:
-
shellcheck
setup
.sh
-
shellcheck
**/*
.sh
This diff is collapsed.
Click to expand it.
README.md
+
15
−
0
View file @
30c70ca4
...
...
@@ -8,6 +8,8 @@ This repo is here to help installing Funkwhale using Docker. It follows the
Prerequisites:
*
docker-compose
## Setup
To set up your instance, clone this repo and enter the directory, then run the
script
`./setup.sh`
.
...
...
@@ -18,9 +20,22 @@ pass them to it directly. See the help with this command:
./setup
--help
```
## Clean
If you are doing tests, you might want to start from a blank slate each time.
The
`clean.sh`
script cleans the Docker containers, their volumes and the
residual files. Since running the containers needs to create volume bindings,
this script needs sudo rights in order to clean the files created with root
access.
Because of the security risk, please take a look at the script to understand
what it does:
[
`clean.sh`
](
./clean.sh
)
## Developer
Prerequisites:
*
spellchecker
[
docs-multi-container
]:
https://docs.funkwhale.audio/installation/docker.html#docker-multi-container
This diff is collapsed.
Click to expand it.
clean.sh
0 → 100755
+
22
−
0
View file @
30c70ca4
#!/bin/bash
set
-e
if
[
-d
funkwhale
]
;
then
pushd
funkwhale
docker-compose down
docker volume prune
-f
if
[
-d
data
]
;
then
sudo rm
-rf
data
fi
popd
rm
-rf
funkwhale
fi
if
[
-d
/srv/funkwhale
]
;
then
sudo rm
-rf
/srv/funkwhale
fi
rm
-rf
templates
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment