-
Notifications
You must be signed in to change notification settings - Fork 264
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
docker: add some more permanent volumes plus a tmpfs mount
- Loading branch information
1 parent
45c2c73
commit b00ec57
Showing
1 changed file
with
18 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,21 @@ | ||
version: '2' | ||
services: | ||
This comment has been minimized.
Sorry, something went wrong. |
||
version: '2' | ||
|
||
volumes: | ||
postgres: | ||
driver: local | ||
node_modules: | ||
driver: local | ||
|
||
services: | ||
# Database servers | ||
postgres: | ||
image: postgres:9.3 | ||
environment: | ||
PGDATA: /var/lib/postgresql/data/pgdata | ||
POSTGRES_PASSWORD: mysecretpassword | ||
POSTGRES_USER: postgres | ||
volumes: | ||
- postgres:/var/lib/postgresql/data | ||
redis: | ||
image: redis | ||
elasticsearch: | ||
|
@@ -26,6 +36,8 @@ | |
volumes: | ||
- ./server:/opt/hummingbird/server | ||
environment: | ||
DATABASE_URL: 'postgresql://postgres:mysecretpassword@postgres/' | ||
REDIS_URL: 'redis://redis/1' | ||
RAILS_ENV: development | ||
|
||
# Sidekiq | ||
|
@@ -39,7 +51,9 @@ | |
volumes: | ||
- ./client:/opt/hummingbird/client | ||
- /opt/hummingbird/client/node_modules | ||
- /opt/hummingbird/client/bower_components | ||
tmpfs: | ||
- /opt/coachnite/client/tmp | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
NuckChorris
Author
Member
|
||
environment: | ||
EMBER_ENV: development | ||
ports: | ||
- "57777:57777" | ||
ports: ['57777:57777'] |
I love that this indentation was fucked up but apparently YAML didn't care