File: docker-compose.yml

package info (click to toggle)
sbws 2.2.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,084 kB
  • sloc: python: 10,432; sh: 146; makefile: 38
file content (30 lines) | stat: -rw-r--r-- 661 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
services:
  sbws:
    build:
      context: ./
      args:
          UID: '${UID:-1000}'
          GID: '${GID:-1000}'
    image: sbws
    user: "${UID:-1000}:${GID:-1000}"
    environment:
      - UID=${UID}
      - GID=${GID}
    volumes:
      - ./data/.sbws.ini:/home/sbws/.sbws.ini
      - ./data/.sbws:/home/sbws/.sbws
    # environment:
    #   SUPERVISED: 1
    command: sbws scanner

  cron:
    image: sbws
    entrypoint: /bin/bash
    command: ["cron", "-f"]
    user: "${UID:-1000}:${GID:-1000}"
    environment:
      - UID=${UID}
      - GID=${GID}
    volumes:
      - ./data/.sbws.ini:/home/sbws/.sbws.ini
      - ./data/.sbws:/home/sbws/.sbws