Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Helios Server
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
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
Helios Server
Commits
2e1648cf
Commit
2e1648cf
authored
4 years ago
by
jan.bednarik
Browse files
Options
Downloads
Patches
Plain Diff
Docker compose for local testing
parent
121cc0a2
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker-compose.yml
+43
-21
43 additions, 21 deletions
docker-compose.yml
with
43 additions
and
21 deletions
docker-compose.yml
+
43
−
21
View file @
2e1648cf
version
:
'
2'
services
:
rabbit
:
hostname
:
rabbit
image
:
rabbitmq:3
environment
:
-
RABBITMQ_DEFAULT_USER=admin
-
RABBITMQ_DEFAULT_PASS=mypass
ports
:
-
"
5672:5672"
helios
:
helios
:
image
:
helios
build
:
.
ports
:
ports
:
-
"
8666:8000"
-
"
8666:8000"
links
:
-
rabbit
depends_on
:
-
rabbit
environment
:
DATABASE_URL
:
"
postgres://db:db@host.docker.internal:5432/helios"
CELERY_BROKER_URL
:
"
amqp://admin:mypass@rabbit:5672"
ALLOWED_HOSTS
:
127.0.0.1,localhost
URL_HOST
:
http://localhost:8666
PIRATI_REALM_URL
:
"
http://host.docker.internal:8080/auth/realms/master"
PIRATI_CLIENT_ID
:
"
helios"
PIRATI_CLIENT_SECRET
:
"
"
# localhost only!
OAUTHLIB_INSECURE_TRANSPORT
:
1
worker
:
build
:
.
links
:
-
rabbit
depends_on
:
-
rabbit
command
:
bash run_worker.sh
environment
:
environment
:
DATABASE_URL
:
"
postgres://db:db@host.docker.internal:5432/helios"
DATABASE_URL
:
"
postgres://db:db@host.docker.internal:5432/helios"
AUTH_ENABLED_AUTH_SYSTEMS
:
pirateid
CELERY_BROKER_URL
:
"
amqp://admin:mypass@rabbit:5672"
AUTH_DEFAULT_AUTH_SYSTEM
:
pirateid
ALLOWED_HOSTS
:
127.0.0.1,localhost
ALLOWED_HOSTS
:
127.0.0.1
URL_HOST
:
http://localhost:8666
URL_HOST
:
http://localhost:8666
SECRET_KEY
:
"
{{
helios_secret_key
}}"
EMAIL_HOST
:
mailgate.pirati.cz
EMAIL_PORT
:
587
EMAIL_HOST_USER
:
XXXXX
EMAIL_HOST_PASSWORD
:
"
{{helios_smtp_password}}"
EMAIL_USE_TLS
:
1
DEFAULT_FROM_EMAIL
:
helios@pirati.cz
DEFAULT_FROM_NAME
:
Pirati - Helios Voting
DEBUG
:
0
WELCOME_MESSAGE
:
Vítejte na hlasovacím systému České pirátské strany
SITE_TITLE
:
Hlasovaci system Helios | Ceska piratska strana
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