Sha256: b66262ffe34a6ae09766e2e8ea7a48a454fb074c9050f02e42eef54b071d7a5a

Contents?: true

Size: 1.06 KB

Versions: 2

Compression:

Stored size: 1.06 KB

Contents

version: '2'
services:
  app:
    build:
      context: .
      args:
        RUBY_VERSION: 2.3.4
    image: netbox-client-ruby:2.3.4
    depends_on:
      - nginx
    volumes:
      - .:/app
  app24:
    build:
      context: .
      args:
        RUBY_VERSION: 2.4.1
    image: netbox-client-ruby:2.4.1
    depends_on:
      - nginx
    volumes:
      - .:/app
  nginx:
    image: nginx:1.11-alpine
    command: nginx -g 'daemon off;' -c /etc/netbox-nginx/nginx.conf
    depends_on:
      - netbox
    volumes:
      - netbox-nginx-config:/etc/netbox-nginx/
      - netbox-static-files:/opt/netbox/netbox/static
    ports:
      - 80
  netbox:
    image: ninech/netbox:latest
    depends_on:
      - postgres
    volumes:
      - netbox-static-files:/opt/netbox/netbox/static
      - netbox-nginx-config:/etc/netbox-nginx/
    env_file: 'netbox.env'
  postgres:
    image: postgres:9.6-alpine
    environment:
      POSTGRES_USER: netbox
      POSTGRES_PASSWORD: netbox
      POSTGRES_DB: netbox
volumes:
  netbox-static-files:
    driver: local
  netbox-nginx-config:
    driver: local

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
netbox-client-ruby-0.1.2 docker-compose.yml
netbox-client-ruby-0.1.1 docker-compose.yml