-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathdocker-compose.local.yml
More file actions
41 lines (36 loc) · 955 Bytes
/
docker-compose.local.yml
File metadata and controls
41 lines (36 loc) · 955 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
# Minimal dependencies to run Flagsmith non-Dockerized, including its test
# suite. Currently, settings are analogous to CI for compatibility.
# TODO: Use Docker Compose in CI to run tests.
name: flagsmith
volumes:
default-database:
task-processor-database:
services:
default-database:
image: postgres:15.17-alpine
restart: unless-stopped
volumes:
- default-database:/var/lib/postgresql/data
ports:
- 6543:5432
environment:
POSTGRES_HOST_AUTH_METHOD: trust
TZ: UTC
healthcheck:
test: pg_isready -Upostgres
interval: 1s
timeout: 30s
task-processor-database:
image: postgres:15.17-alpine
restart: unless-stopped
volumes:
- task-processor-database:/var/lib/postgresql/data
ports:
- 6544:5432
environment:
POSTGRES_HOST_AUTH_METHOD: trust
TZ: UTC
healthcheck:
test: pg_isready -Upostgres
interval: 1s
timeout: 30s