Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
Demo
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
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
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
TO
openlobby
Demo
Commits
bbce52a9
Commit
bbce52a9
authored
7 years ago
by
jan.bednarik
Browse files
Options
Downloads
Patches
Plain Diff
Update to server changes.
parent
378495ce
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
README.md
+3
-2
3 additions, 2 deletions
README.md
docker-compose.yml
+16
-0
16 additions, 0 deletions
docker-compose.yml
with
19 additions
and
2 deletions
README.md
+
3
−
2
View file @
bbce52a9
...
...
@@ -14,11 +14,12 @@ Clone this repository and then you can:
-
Stop and/or remove all data:
`make destroy`
It runs:
-
PostgreSQL on port
`5432`
-
Elasticsearch on port
`9200`
-
Open Lobby Server on port
`8010`
- GraphQL API endpoint and GraphiQL
interface are at
`http://localhost:8010/graphql`
-
Open Lobby App on port
`8020`
- web application is at
`http://localhost:8020`
You may notice some errors and crashes if you access it immediately because
Elasticsearch starts slowly. But it should recover and eventually
it will be all
running fine.
PostgreSQL and
Elasticsearch starts slowly. But it should recover and eventually
it will be all
running fine.
This diff is collapsed.
Click to expand it.
docker-compose.yml
+
16
−
0
View file @
bbce52a9
version
:
"
2"
services
:
openlobby-postgres
:
image
:
postgres:9.5
environment
:
-
POSTGRES_USER=db
-
POSTGRES_PASSWORD=db
-
POSTGRES_DB=openlobby
ports
:
-
"
5432:5432"
restart
:
always
volumes
:
-
postgres-data:/var/lib/postgresql/data
openlobby-es
:
image
:
openlobby/openlobby-es-czech:latest
environment
:
...
...
@@ -25,8 +37,10 @@ services:
-
"
8010:8010"
restart
:
always
depends_on
:
-
openlobby-postgres
-
openlobby-es
environment
:
-
DATABASE_DSN=postgresql://db:db@openlobby-postgres:5432/openlobby
-
ELASTICSEARCH_DSN=http://openlobby-es:9200
-
SECRET_KEY=unsecure-demo-secret-key
...
...
@@ -42,5 +56,7 @@ services:
-
SECRET_KEY=another-demo-secret-key
volumes
:
postgres-data
:
driver
:
local
es-data
:
driver
:
local
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