Sha256: eb34e059adbfe1f01509a7aa9988774e02ad98a86834fe1195d2f1cef7cf94ba

Contents?: true

Size: 715 Bytes

Versions: 7

Compression:

Stored size: 715 Bytes

Contents

name: "<%= settings.project_name %>"

services:
  app:
    build:
      context: ..
      dockerfile: .devcontainer/Dockerfile
    volumes:
      - ../..:/workspaces:cached
    environment:
      DATABASE_URL: postgres://postgres:postgres@postgres:5432/postgres
    command: sleep infinity
    depends_on:
      - postgres
      - redis

  postgres:
    image: postgres:latest
    restart: unless-stopped
    volumes:
      - postgres-data:/var/lib/postgresql/data
    environment:
      POSTGRES_USER: postgres
      POSTGRES_DB: postgres
      POSTGRES_PASSWORD: postgres

  redis:
    image: redis:latest
    restart: unless-stopped
    volumes:
      - redis-data:/data

volumes:
  postgres-data:
  redis-data:

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
rubysmith-7.9.0 lib/rubysmith/templates/%project_name%/.devcontainer/compose.yaml.erb
rubysmith-7.8.0 lib/rubysmith/templates/%project_name%/.devcontainer/compose.yaml.erb
rubysmith-7.7.0 lib/rubysmith/templates/%project_name%/.devcontainer/compose.yaml.erb
rubysmith-7.6.0 lib/rubysmith/templates/%project_name%/.devcontainer/compose.yaml.erb
rubysmith-7.5.0 lib/rubysmith/templates/%project_name%/.devcontainer/compose.yaml.erb
rubysmith-7.4.0 lib/rubysmith/templates/%project_name%/.devcontainer/compose.yaml.erb
rubysmith-7.3.0 lib/rubysmith/templates/%project_name%/.devcontainer/compose.yaml.erb