Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Alf Eaton
ink-api
Commits
2d34aded
Commit
2d34aded
authored
Jan 10, 2018
by
charlie
Browse files
Merge branch 'pgdata' into 'master'
Use Docker volume for postgres data? See merge request
!14
parents
f61b3ba4
e5f98740
Pipeline
#3851
canceled with stage
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
docker-compose.yml
View file @
2d34aded
...
...
@@ -5,7 +5,7 @@ services:
ports
:
-
"
5432:5432"
volumes
:
-
./postgres
:/var/lib/postgresql/data
-
pgdata
:/var/lib/postgresql/data
redis
:
image
:
'
redis:latest'
ports
:
...
...
@@ -44,3 +44,5 @@ volumes:
gems
:
# Flagging this as "external" means it will use the volume named "gems" on the host instead of making a new volume specific to this docker-compose file
external
:
true
pgdata
:
external
:
true
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment