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
54576a4d
Commit
54576a4d
authored
5 years ago
by
Vincent
Browse files
Options
Downloads
Patches
Plain Diff
Add volume on postgres docker
parent
323ea0da
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
docker-compose.yml
+6
-1
6 additions, 1 deletion
docker-compose.yml
with
6 additions
and
1 deletion
docker-compose.yml
+
6
−
1
View file @
54576a4d
version
:
'
3'
version
:
'
3'
services
:
services
:
postgres
:
postgres
:
container_name
:
mobilizon_db
container_name
:
mobilizon_db
restart
:
unless-stopped
restart
:
unless-stopped
...
@@ -9,6 +8,9 @@ services:
...
@@ -9,6 +8,9 @@ services:
environment
:
environment
:
POSTGRES_PASSWORD
:
postgres
POSTGRES_PASSWORD
:
postgres
POSTGRES_DB
:
mobilizon_dev
POSTGRES_DB
:
mobilizon_dev
volumes
:
-
pgdata:/var/lib/postgresql/data
front
:
front
:
container_name
:
mobilizon_front
container_name
:
mobilizon_front
...
@@ -43,3 +45,6 @@ services:
...
@@ -43,3 +45,6 @@ services:
MOBILIZON_DATABASE_DBNAME
:
mobilizon_dev
MOBILIZON_DATABASE_DBNAME
:
mobilizon_dev
MOBILIZON_DATABASE_HOST
:
postgres
MOBILIZON_DATABASE_HOST
:
postgres
entrypoint
:
entrypoint
entrypoint
:
entrypoint
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