Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
A
api
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
funkwhale
api
Commits
13749670
Commit
13749670
authored
8 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Moved docker compose file to dev.yml and version '2'
parent
c8575691
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
3
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
dev.yml
+55
-0
55 additions, 0 deletions
dev.yml
docker-compose.yml
+0
-45
0 additions, 45 deletions
docker-compose.yml
env.example
+1
-0
1 addition, 0 deletions
env.example
with
56 additions
and
45 deletions
dev.yml
0 → 100644
+
55
−
0
View file @
13749670
version
:
'
2'
services
:
postgres
:
env_file
:
.env
image
:
postgres
volumes
:
# If you are using boot2docker, postgres data has to live in the VM for now until #581 is fixed
# for more info see here: https://github.com/boot2docker/boot2docker/issues/581
-
/data/dev/funkwhale_api/postgres:/var/lib/postgresql/data
redis
:
env_file
:
.env
image
:
redis:3.0
celeryworker
:
env_file
:
.env
build
:
context
:
.
dockerfile
:
docker/Dockerfile.local
links
:
-
postgres
-
redis
command
:
python manage.py celery worker
environment
:
-
C_FORCE_ROOT=true
volumes
:
-
.:/app
django
:
env_file
:
.env
build
:
context
:
.
dockerfile
:
docker/Dockerfile.local
command
:
python /app/manage.py runserver 0.0.0.0:12081
volumes
:
-
.:/app
ports
:
-
"
12081"
environment
:
-
USE_SAMPLE_TRACK=true
links
:
-
postgres
-
redis
-
celeryworker
nginx
:
env_file
:
.env
build
:
./compose/nginx
links
:
-
django
volumes
:
-
./funkwhale_api/media:/staticfiles/media
ports
:
-
"
0.0.0.0:6001:80"
This diff is collapsed.
Click to expand it.
docker-compose.yml
deleted
100644 → 0
+
0
−
45
View file @
c8575691
postgres
:
image
:
postgres
volumes
:
# If you are using boot2docker, postgres data has to live in the VM for now until #581 is fixed
# for more info see here: https://github.com/boot2docker/boot2docker/issues/581
-
/data/dev/funkwhale_api/postgres:/var/lib/postgresql/data
redis
:
image
:
redis:3.0
celeryworker
:
dockerfile
:
docker/Dockerfile.local
build
:
.
links
:
-
postgres
-
redis
command
:
python manage.py celery worker
environment
:
-
C_FORCE_ROOT=true
volumes
:
-
.:/app
django
:
dockerfile
:
docker/Dockerfile.local
build
:
.
command
:
python /app/manage.py runserver 0.0.0.0:12081
volumes
:
-
.:/app
ports
:
-
"
12081"
environment
:
-
USE_SAMPLE_TRACK=true
links
:
-
postgres
-
redis
-
celeryworker
nginx
:
build
:
./compose/nginx
links
:
-
django
volumes
:
-
./funkwhale_api/media:/staticfiles/media
ports
:
-
"
0.0.0.0:6001:80"
This diff is collapsed.
Click to expand it.
env.example
+
1
−
0
View file @
13749670
YOUTUBE_API_KEY=
YOUTUBE_API_KEY=
API_AUTHENTICATION_REQUIRED=False
API_AUTHENTICATION_REQUIRED=False
USE_SAMPLE_TRACK=false
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