Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
synapse
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Terraform modules
Monitor
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
Timo Ley
synapse
Commits
1ba2fe11
Commit
1ba2fe11
authored
7 years ago
by
kaiyou
Browse files
Options
Downloads
Patches
Plain Diff
Provide an example docker compose file
parent
042757fe
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
Dockerfile
+2
-0
2 additions, 0 deletions
Dockerfile
contrib/docker/docker-compose.yml
+32
-0
32 additions, 0 deletions
contrib/docker/docker-compose.yml
with
34 additions
and
0 deletions
Dockerfile
+
2
−
0
View file @
1ba2fe11
...
...
@@ -14,4 +14,6 @@ RUN cd /synapse \
VOLUME
["/data"]
EXPOSE
8448
ENTRYPOINT
["/start.py"]
This diff is collapsed.
Click to expand it.
contrib/docker/docker-compose.yml
0 → 100644
+
32
−
0
View file @
1ba2fe11
# This compose file is compatible with Copose itself, it might need some
# adjustments to run properly with stack.
version
:
'
3'
services
:
synapse
:
image
:
matrix/synapse
# See the readme for a full documentation of the environment settings
environment
:
-
SYNAPSE_SERVER_NAME=my.matrix.host
-
SYNAPSE_DB_PASSWORD=changeme
volumes
:
-
./files:/data
# One may either expose ports directly
ports
:
-
8448:8448/tcp
# ... or use a reverse proxy, here is an example for traefik
labels
:
-
traefik.enable=true
-
traefik.frontend.rule=Host:my.matrix.Host
-
traefik.port=8448
db
:
image
:
postgres:latest
# Change that password, of course!
environment
:
-
POSTGRES_USER=matrix
-
POSTGRES_PASSWORD=changeme
volumes
:
-
./schemas:/var/lib/postgres
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