-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathdocker-compose.yaml
More file actions
43 lines (40 loc) · 902 Bytes
/
docker-compose.yaml
File metadata and controls
43 lines (40 loc) · 902 Bytes
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
services:
postgres:
image: "${PGIMAGE}"
pull_policy: always
ports:
- "${PGHOSTPORT}:5432"
volumes:
- "./pgdata:/var/lib/postgresql/data"
environment:
POSTGRES_USER: "${PGUSER}"
POSTGRES_PASSWORD: "${PGPASSWORD}"
POSTGRES_DB: "${PGDATABASE}"
aidbox:
image: "${AIDBOX_IMAGE}"
pull_policy: always
depends_on: ["postgres"]
ports:
- "${AIDBOX_PORT}:${AIDBOX_PORT}"
env_file:
- .env
environment:
PGPORT: 5432
PGHOST: postgres
redis:
image: redis
ports:
- "${REDIS_PORT}:6379"
volumes:
- "./redisdata:/data"
# app:
# image: aidbox-forms-smart-launch-2
# pull_policy: never
# env_file:
# - .env
# environment:
# REDIS_URL: "redis://redis:6379/0"
# AIDBOX_BASE_URL: http://aidbox:8888
# PGHOST: postgres
# ports:
# - "3001:3000"