Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
Restyaboard
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Commits
Open sidebar
Ali Arshad
Restyaboard
Commits
9463b212
Commit
9463b212
authored
Sep 01, 2015
by
Tsubasa Namiki
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed docker data volume setting
and remove docker spec.
parent
5864bdba
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
25 deletions
+7
-25
docker-compose.yml
docker-compose.yml
+7
-7
service_spec.rb
spec/restyaboard/service_spec.rb
+0
-18
No files found.
docker-compose.yml
View file @
9463b212
data
00restyaboard
:
data
:
image
:
busybox
volumes
:
-
/
volumes/data00elasticsearch:/
usr/share/elasticsearch/data
-
/v
olumes/data00postgres:/v
ar/lib/postgresql/data
-
/
volumes/data00restyaboard:/
usr/share/nginx/html/media
-
/usr/share/elasticsearch/data
-
/var/lib/postgresql/data
-
/usr/share/nginx/html/media
elasticsearch
:
image
:
elasticsearch
volumes_from
:
-
data
00restyaboard
-
data
restart
:
always
postgres
:
...
...
@@ -17,7 +17,7 @@ postgres:
POSTGRES_USER
:
postgres
POSTGRES_PASSWORD
:
something
volumes_from
:
-
data
00restyaboard
-
data
restart
:
always
restyaboard
:
...
...
@@ -28,5 +28,5 @@ restyaboard:
ports
:
-
1234:80
volumes_from
:
-
data
00restyaboard
-
data
restart
:
always
spec/restyaboard/service_spec.rb
View file @
9463b212
...
...
@@ -8,21 +8,3 @@ end
describe
port
(
1234
)
do
it
{
should
be_listening
}
end
describe
docker_container
(
'dockerfile_restyaboard_1'
)
do
it
{
should
be_running
}
end
describe
docker_container
(
'dockerfile_postgres_1'
)
do
it
{
should
be_running
}
end
describe
docker_container
(
'dockerfile_elasticsearch_1'
)
do
it
{
should
be_running
}
end
describe
docker_container
(
'dockerfile_data00restyaboard_1'
)
do
it
{
should
have_volume
(
'/usr/share/nginx/html/media'
,
'/volumes/data00restyaboard'
)
}
it
{
should
have_volume
(
'/var/lib/postgresql/data'
,
'/volumes/data00postgres'
)
}
it
{
should
have_volume
(
'/usr/share/elasticsearch/data'
,
'/volumes/data00elasticsearch'
)
}
end
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