mirror of
https://github.com/docker/awesome-compose.git
synced 2025-04-25 18:28:07 +02:00
change version and build
Signed-off-by: Lukas Pol <lukaspaespol@gmail.com>
This commit is contained in:
parent
91e1360302
commit
dae03627d4
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
version: '2'
|
||||
version: '3.7'
|
||||
services:
|
||||
db:
|
||||
image: postgres
|
||||
|
@ -8,7 +8,7 @@ services:
|
|||
POSTGRES_USER: 'username'
|
||||
POSTGRES_HOST_AUTH_METHOD: trust
|
||||
web:
|
||||
build: .
|
||||
build: ./web
|
||||
command: bash -c "rm -f tmp/pids/server.pid && yarn install --check-files && rake db:create db:migrate && bundle exec rails s -b 0.0.0.0"
|
||||
volumes:
|
||||
- ./web:/myapp
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue