Skip to content

Commit

Permalink
fix: Restore make docker-up (#4907)
Browse files Browse the repository at this point in the history
  • Loading branch information
khvn26 authored Dec 10, 2024
1 parent ad7839e commit f97c56f
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion api/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

DOCKER_TAG ?= flagsmith/flagsmith-api:local

COMPOSE_FILE ?= ../docker/db.yml
COMPOSE_FILE ?= ../docker/api/docker-compose.local.yml
COMPOSE_PROJECT_NAME ?= flagsmith

DOTENV_OVERRIDE_FILE ?= .env
Expand Down
19 changes: 19 additions & 0 deletions docker/api/docker-compose.local.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# A Compose file with minimal dependencies to be able to run Flagsmith, including its test suite, locally (not in Docker).

name: flagsmith

volumes:
pg_11_data:

services:
db:
image: postgres:15.5-alpine
pull_policy: always
restart: unless-stopped
volumes:
- pg_11_data:/var/lib/postgresql/data
ports:
- 5432:5432
environment:
POSTGRES_DB: flagsmith
POSTGRES_PASSWORD: password

0 comments on commit f97c56f

Please sign in to comment.