...

Text file src/github.com/goph/emperror/docker-compose.yml

Documentation: github.com/goph/emperror

     1version: "3.7"
     2
     3services:
     4    errbit:
     5        build: etc/errbit
     6        depends_on:
     7            - mongo
     8        environment:
     9            RACK_ENV: production
    10            MONGO_URL: mongodb://mongo:27017/errbit
    11            ERRBIT_ADMIN_PASSWORD: errbit
    12            ERRBIT_USER_HAS_USERNAME: "true"
    13            ERRBIT_EMAIL_AT_NOTICES: 0
    14
    15    mongo:
    16        image: mongo:4.1
    17
    18    sentry:
    19        build: ./etc/sentry
    20        command: run web
    21        depends_on:
    22            - postgres
    23            - redis
    24        environment:
    25            SENTRY_SECRET_KEY: secret
    26            SENTRY_POSTGRES_HOST: postgres
    27            SENTRY_POSTGRES_PORT: 5432
    28            SENTRY_DB_NAME: database
    29            SENTRY_DB_USER: user
    30            SENTRY_DB_PASSWORD: secret
    31            SENTRY_REDIS_HOST: redis
    32            SENTRY_REDIS_PORT: 6379
    33
    34    sentry-cron:
    35        build: ./etc/sentry
    36        command: run cron
    37        depends_on:
    38            - postgres
    39            - redis
    40        environment:
    41            SENTRY_SECRET_KEY: secret
    42            SENTRY_POSTGRES_HOST: postgres
    43            SENTRY_POSTGRES_PORT: 5432
    44            SENTRY_DB_NAME: database
    45            SENTRY_DB_USER: user
    46            SENTRY_DB_PASSWORD: secret
    47            SENTRY_REDIS_HOST: redis
    48            SENTRY_REDIS_PORT: 6379
    49
    50    sentry-worker:
    51        build: ./etc/sentry
    52        command: run worker
    53        depends_on:
    54            - postgres
    55            - redis
    56        environment:
    57            SENTRY_SECRET_KEY: secret
    58            SENTRY_POSTGRES_HOST: postgres
    59            SENTRY_POSTGRES_PORT: 5432
    60            SENTRY_DB_NAME: database
    61            SENTRY_DB_USER: user
    62            SENTRY_DB_PASSWORD: secret
    63            SENTRY_REDIS_HOST: redis
    64            SENTRY_REDIS_PORT: 6379
    65
    66    redis:
    67        image: redis:5.0
    68
    69    postgres:
    70        image: postgres:11.1
    71        environment:
    72            POSTGRES_USER: user
    73            POSTGRES_PASSWORD: secret
    74            POSTGRES_DB: database

View as plain text