Skip to content

Commit 91761f4

Browse files
Stop specifying volume in Dockerfile and docker-compose files.
1 parent 587b2b7 commit 91761f4

4 files changed

Lines changed: 1 addition & 9 deletions

File tree

Dockerfile

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ WORKDIR "${GEMSTASH_HOME}/app"
2424
COPY "app/" "${GEMSTASH_HOME}/app"
2525
RUN bundle install --jobs 4 --retry 3
2626

27-
VOLUME "${GEMSTASH_HOME}/data"
28-
2927
EXPOSE 9292
3028
USER ${GEMSTASH_USER}:${GEMSTASH_USER}
3129
CMD ["bundle", "exec", "gemstash", "start", "--no-daemonize"]

docker-compose.mysql.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ services:
1414
GEMSTASH_PUMA_THREADS: 4
1515
ports:
1616
- 9292:9292
17-
volumes:
18-
- gemstash_data:/home/gemstash/data
1917
links:
2018
- mysql
2119
depends_on:

docker-compose.postgres.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,6 @@ services:
1414
GEMSTASH_PUMA_THREADS: 4
1515
ports:
1616
- 9292:9292
17-
volumes:
18-
- gemstash_data:/home/gemstash/data
1917
links:
2018
- postgres
2119
postgres:

docker-compose.sqlite.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,13 +5,11 @@ services:
55
build:
66
context: .
77
dockerfile: Dockerfile
8-
image: zappi/gemstash:1.2.0
8+
# image: zappi/gemstash:1.2.0
99
environment:
1010
RACK_ENV: production
1111
ports:
1212
- 9292:9292
13-
volumes:
14-
- gemstash_data:/home/gemstash/data
1513

1614
volumes:
1715
gemstash_data:

0 commit comments

Comments
 (0)