No need to link to redis container when setting up db
This commit is contained in:
parent
0e6b2366eb
commit
e134fd7898
@ -49,9 +49,7 @@ services:
|
|||||||
db_init:
|
db_init:
|
||||||
image: asciinema/asciinema.org
|
image: asciinema/asciinema.org
|
||||||
links:
|
links:
|
||||||
- redis
|
|
||||||
- postgres
|
- postgres
|
||||||
environment:
|
environment:
|
||||||
DATABASE_URL: "postgresql://postgres:mypass@postgres/asciinema"
|
DATABASE_URL: "postgresql://postgres:mypass@postgres/asciinema"
|
||||||
REDIS_URL: "redis://redis:6379"
|
|
||||||
command: "bundle exec rake db:setup"
|
command: "bundle exec rake db:setup"
|
||||||
|
Loading…
Reference in New Issue
Block a user