forked from ibutsu/ibutsu-server
-
Notifications
You must be signed in to change notification settings - Fork 0
/
docker-compose-fuzz.yml
64 lines (64 loc) · 1.76 KB
/
docker-compose-fuzz.yml
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
version: '3'
services:
postgres:
environment:
POSTGRES_USER: ibutsu
POSTGRES_PASSWORD: ibutsu
POSTGRES_DB: ibutsu
image: postgres:latest
backend:
environment:
APP_CONFIG: config.py
POSTGRESQL_HOST: postgres
POSTGRESQL_DATABASE: ibutsu
POSTGRESQL_USER: ibutsu
POSTGRESQL_PASSWORD: ibutsu
IBUTSU_SUPERADMIN_EMAIL: [email protected]
IBUTSU_SUPERADMIN_PASSWORD: admin12345
IBUTSU_SUPERADMIN_NAME: Administrator
JWT_SECRET: jwtsecret
CELERY_BROKER_URL: 'redis://redis'
CELERY_RESULT_BACKEND: 'redis://redis'
build:
context: ./backend
dockerfile: docker/Dockerfile.backend
image: ibutsu/backend
command: /bin/bash -c 'sleep 30 && python -m ibutsu_server --host 0.0.0.0'
ports:
- "8080:8080"
depends_on:
- postgres
- redis
worker:
environment:
APP_SCRIPT: celery_worker.sh
POSTGRESQL_HOST: postgres
POSTGRESQL_DATABASE: ibutsu
POSTGRESQL_USER: ibutsu
POSTGRESQL_PASSWORD: ibutsu
IBUTSU_SUPERADMIN_EMAIL: [email protected]
IBUTSU_SUPERADMIN_PASSWORD: admin12345
IBUTSU_SUPERADMIN_NAME: Administrator
CELERY_BROKER_URL: 'redis://redis'
CELERY_RESULT_BACKEND: 'redis://redis'
build:
context: ./backend
dockerfile: docker/Dockerfile.worker
image: ibutsu/worker
depends_on:
- backend
- postgres
- redis
redis:
image: redis:latest
api-tests:
environment:
IBUTSU_SUPERADMIN_EMAIL: [email protected]
IBUTSU_SUPERADMIN_PASSWORD: admin12345
IBUTSU_SUPERADMIN_NAME: Administrator
build:
context: ./backend
dockerfile: docker/Dockerfile.fuzz_testing
image: ibutsu/fuzz_testing
depends_on:
- backend