-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgh-docker-compose.yml
More file actions
47 lines (44 loc) · 1.14 KB
/
Copy pathgh-docker-compose.yml
File metadata and controls
47 lines (44 loc) · 1.14 KB
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
services:
db:
image: pgvector/pgvector:0.8.1-pg17-trixie
environment:
- POSTGRES_DB=postgres
- POSTGRES_USER=postgres
- POSTGRES_PASSWORD=postgres
volumes:
- postgres-data:/var/lib/postgresql/data
web:
image: $DOCKER_IMAGE_BACKEND
stdin_open: true
tty: true
extra_hosts:
- 'host.docker.internal:host-gateway'
build:
context: ./
environment:
CI: "true"
DEBUG: "true"
APP_ENVIRONMENT: CI
DJANGO_SECRET_KEY: "ramdom-secret-key"
APP_TYPE: "web"
APP_DOMAIN: http://localhost:8020
FRONTEND_DOMAIN: http://localhost:3000
SESSION_COOKIE_DOMAIN: localhost
CSRF_COOKIE_DOMAIN: localhost
ALLOWED_HOSTS: '*'
POSTGRES_DB: postgres
POSTGRES_USER: postgres
POSTGRES_PASSWORD: postgres
POSTGRES_HOST: db
POSTGRES_PORT: 5432
LANGUAGE_CODE: en-us
TIME_ZONE: Asia/Kathmandu
CELERY_REDIS_URL: redis://redis:6379/0
CACHE_REDIS_URL: redis://redis:6379/1
TEST_CACHE_REDIS_URL: redis://redis:6379/11
volumes:
- ./ci-share/:/ci-share/
depends_on:
- db
volumes:
postgres-data: