0
0

More than 5 years have passed since last update.

wercker + RailsでPostGISを使う

Posted at

Dockerイメージ mdillon/postgis をserviceとして使う。

box: ruby

services:
    # このnameをpostgresにしておかないとコンテナ間のリンクができない
    - name: postgres
        id: mdillon/postgis
        env:
            POSTGRES_PASSWORD: $POSTGRES_PASSWORD
            POSTGRES_USER: $POSTGRES_USER

build:
    steps:
        - bundle-install
        - rails-database-yml:
            service: postgresql-docker
        - script:
            name: rspec
            code: bundle exec rspec
0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0