Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Mobilizon
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
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
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
TeDomum
Mobilizon
Commits
2012d1b0
Commit
2012d1b0
authored
4 years ago
by
pascoual
Browse files
Options
Downloads
Patches
Plain Diff
Get back original root Dockerfile
parent
3e19fe1f
No related branches found
No related tags found
Loading
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker-compose.yml
+39
-33
39 additions, 33 deletions
docker-compose.yml
with
39 additions
and
33 deletions
docker-compose.yml
+
39
−
33
View file @
2012d1b0
version
:
"
3"
version
:
'
3'
services
:
mobilizon
:
image
:
mobilizon
postgres
:
container_name
:
mobilizon_db
restart
:
unless-stopped
image
:
mdillon/postgis:11
environment
:
-
MOBILIZON_INSTANCE_NAME
-
MOBILIZON_INSTANCE_HOST
-
MOBILIZON_INSTANCE_EMAIL
-
MOBILIZON_REPLY_EMAIL
-
MOBILIZON_INSTANCE_REGISTRATIONS_OPEN=true
-
MOBILIZON_DATABASE_USERNAME=${POSTGRES_USER}
-
MOBILIZON_DATABASE_PASSWORD=${POSTGRES_PASSWORD}
-
MOBILIZON_DATABASE_DBNAME=${POSTGRES_DB}
-
MOBILIZON_DATABASE_HOST=db
-
MOBILIZON_INSTANCE_SECRET_KEY_BASE
-
MOBILIZON_INSTANCE_SECRET_KEY
-
MOBILIZON_SMTP_SERVER=yoursmtpserver
-
MOBILIZON_SMTP_HOSTNAME=your.smtp.domain
-
MOBILIZON_SMTP_USERNAME
-
MOBILIZON_SMTP_PASSWORD
POSTGRES_PASSWORD
:
postgres
POSTGRES_DB
:
mobilizon_dev
volumes
:
-
/tmp/public/upload:/app/upload
ports
:
-
"
4000:4000"
db
:
image
:
postgis/postgis
-
pgdata:/var/lib/postgresql/data
api
:
container_name
:
mobilizon_api
restart
:
unless-stopped
build
:
.
volumes
:
-
/tmp/db:/var/lib/postgresql/data
-
'
.:/app'
ports
:
-
"
4000:4000"
depends_on
:
-
postgres
environment
:
-
POSTGRES_USER
-
POSTGRES_PASSWORD
-
POSTGRES_DB
networks
:
default
:
ipam
:
driver
:
default
MIX_ENV
:
"
dev"
DOCKER
:
"
true"
MOBILIZON_INSTANCE_NAME
:
My Mobilizon Instance
MOBILIZON_INSTANCE_HOST
:
mobilizon.me
MOBILIZON_INSTANCE_EMAIL
:
noreply@mobilizon.me
MOBILIZON_INSTANCE_REGISTRATIONS_OPEN
:
"
true"
MOBILIZON_DATABASE_PASSWORD
:
postgres
MOBILIZON_DATABASE_USERNAME
:
postgres
MOBILIZON_DATABASE_DBNAME
:
mobilizon_dev
MOBILIZON_DATABASE_HOST
:
postgres
command
:
>
sh -c "cd js &&
yarn install &&
cd ../ &&
mix deps.get &&
mix compile &&
mix ecto.create &&
mix ecto.migrate &&
mix phx.server"
volumes
:
pgdata
:
.
:
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