Sha256: cdc77f5b54a38a3d4f94860c05e969e6ae132e7d9c7307a3e5cf0d065362a886

Contents?: true

Size: 1.57 KB

Versions: 6

Compression:

Stored size: 1.57 KB

Contents

version: '3.6'
services:
  web:
    build: .
    command: infra/scripts/wait-for-it.sh ${DB_HOST}:${DB_PORT} -t 120 -- infra/scripts/start-dev.sh
    volumes:
      - "project-web-sync:/app:nocopy"
      - "project-bundle-sync:/bundle:nocopy"
    expose:
      - "7000"
    environment:
      VIRTUAL_HOST: web.${COMPOSE_PROJECT_NAME}.test
      VIRTUAL_PORT: 7000
      DB_USER: ${DB_USER}
      DB_PASS: ${DB_PASS}
      DB_HOST: ${DB_HOST}
      DB_NAME: ${DB_NAME}
      DB_PORT: ${DB_PORT}
      PG_USER: ${PG_USER}
      PG_PASSWORD: ${PG_PASSWORD}
      RAILS_ENV: development
      #     RAILS_LOG_TO_STDOUT: "true"
#      DEBUG_MODE: "on"
    ports:
      - "26168"
      - "1234:1234"
    tty: true
    stdin_open: true
    networks:
      - proxy-tier

  guard:
    build: .
    command: bundle exec guard --no-bundler-warning --no-interactions
    volumes:
      - "project-bundle-sync:/bundle:nocopy"
      - "project-web-sync:/app:nocopy"
    environment:
      VIRTUAL_HOST: web.${COMPOSE_PROJECT_NAME}.test
      VIRTUAL_PORT: 7000
      DB_USER: ${DB_USER}
      DB_PASS: ${DB_PASS}
      DB_HOST: ${DB_HOST}
      DB_NAME: ${DB_NAME}
      DB_PORT: ${DB_PORT}
      PG_USER: ${PG_USER}
      PG_PASSWORD: ${PG_PASSWORD}
      RAILS_ENV: development
    tty: true
    stdin_open: true
    networks:
      - proxy-tier

volumes:
  project-web-sync:
    external: true
    name: ${COMPOSE_PROJECT_NAME}-web-sync
  project-bundle-sync:
    external: true
    name: ${COMPOSE_PROJECT_NAME}-bundle-sync

networks:
  proxy-tier:
    external: true
    name: "${COMPOSE_PROJECT_NAME}-nginx-proxy"

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
dockman-0.1.12 lib/generators/dockman/dockify/skeleton/templates/docker-compose.yml
dockman-0.1.11 lib/generators/dockman/dockify/skeleton/templates/docker-compose.yml
dockman-0.1.9 lib/generators/dockman/dockify/skeleton/templates/docker-compose.yml
dockman-0.1.8 lib/generators/dockman/dockify/skeleton/templates/docker-compose.yml
dockman-0.1.7 lib/generators/dockman/dockify/skeleton/templates/docker-compose.yml
dockman-0.1.3 lib/generators/dockman/dockify/skeleton/templates/docker-compose.yml