Valist
Search…
Getting started
Support
Documentation
Configuration file
Valist CLI
Guides
Setup: Nodejs / MongoDB
Setup: Angular
Setup: Rails / PostgreSQL
Setup: Wordpress
Powered By
GitBook
Setup: Rails / PostgreSQL
This example demonstrates how to run a Rails application that uses PostgreSQL.
See the complete example code on GitHub
valist.yml
1
services:
2
db:
3
image: postgres:10.13
4
environment:
5
- POSTGRES_PASSWORD=password
6
web:
7
public: true
8
cmd: bash -c "rm -f tmp/pids/server.pid && bundle exec rails s -p 3000 -b '0.0.0.0'"
9
port: 3000
10
depends_on:
11
- db
12
steps:
13
- name: createdb
14
service: web
15
cmd: rake db:create
Copied!
Guides - Previous
Setup: Angular
Next - Guides
Setup: Wordpress
Last modified
1yr ago
Copy link
Contents
valist.yml