Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
funkwhale
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
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
Martin Giger
funkwhale
Commits
2561d9d1
Commit
2561d9d1
authored
6 years ago
by
Eliot Berriot
Browse files
Options
Downloads
Patches
Plain Diff
Fix port binding issues in dev
parent
9a14be9c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CONTRIBUTING.rst
+2
-1
2 additions, 1 deletion
CONTRIBUTING.rst
dev.yml
+4
-0
4 additions, 0 deletions
dev.yml
with
6 additions
and
1 deletion
CONTRIBUTING.rst
+
2
−
1
View file @
2561d9d1
...
...
@@ -280,7 +280,8 @@ When working on federation with traefik, ensure you have this in your ``env``::
EXTERNAL_REQUESTS_VERIFY_SSL=false
# this ensure you don't have incorrect urls pointing to http resources
FUNKWHALE_PROTOCOL=https
# Disable host ports binding for the nginx container, as traefik is serving everything
NGINX_PORTS_MAPPING=80
Typical workflow for a contribution
-----------------------------------
...
...
This diff is collapsed.
Click to expand it.
dev.yml
+
4
−
0
View file @
2561d9d1
...
...
@@ -60,6 +60,8 @@ services:
-
"
FUNKWHALE_PROTOCOL=${FUNKWHALE_PROTOCOL-http}"
-
"
DATABASE_URL=postgresql://postgres@postgres/postgres"
-
"
CACHE_URL=redis://redis:6379/0"
-
"
FUNKWHALE_SPA_HTML_ROOT=http://nginx/front/"
links
:
-
postgres
-
redis
...
...
@@ -95,6 +97,8 @@ services:
-
.env.dev
-
.env
image
:
nginx
ports
:
-
"
${NGINX_PORTS_MAPPING-8000:80}"
environment
:
-
"
NGINX_MAX_BODY_SIZE=${NGINX_MAX_BODY_SIZE-100M}"
-
"
FUNKWHALE_API_IP=${FUNKHALE_API_IP-api}"
...
...
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