Newer
Older
netbox-docker / docker-compose.test.yml
@Tobias Genannt Tobias Genannt on 4 Apr 2018 495 bytes Move config to /etc/netbox/config (Fixes #54)
version: '3'
services:
    app:
      build:
        context: .
        args:
        - BRANCH=${BRANCH-master}
      image: ninech/netbox:${BRANCH-latest}
      depends_on:
      - postgres
      env_file: netbox.env
      volumes:
      - ./configuration:/etc/netbox/config:ro
      command:
      - ./manage.py
      - test
    postgres:
      image: postgres:10.2-alpine
      env_file: postgres.env
volumes:
  netbox-static-files:
    driver: local
  netbox-nginx-config:
    driver: local