Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
rename docker compose and bring back make up-dev
Maidul Islamf320b08ca877
diff --git a/Makefile b/Makefileindex 544a0256d6..2b7f43c852 100644--- a/Makefile+++ b/Makefile@@ -5,16 +5,10 @@ push:docker-compose -f docker-compose.yml pushup-dev:- docker-compose -f docker-compose.dev.yml up --build--up-pg-dev:- docker compose -f docker-compose.pg.yml up --build--i-dev:- infisical run -- docker-compose -f docker-compose.dev.yml up --build+ docker compose -f docker-compose.dev.yml up --buildup-prod:- docker-compose -f docker-compose.yml up --build+ docker-compose -f docker-compose.prod.yml up --builddown:docker-compose downdiff --git a/docker-compose.dev.yml b/docker-compose.dev.ymlindex b5c1f70f8d..f95810777e 100644--- a/docker-compose.dev.yml+++ b/docker-compose.dev.yml@@ -55,14 +55,30 @@ services:POSTGRES_USER: infisicalPOSTGRES_DB: infisical-test+ db-migration:+ container_name: infisical-db-migration+ depends_on:+ - db+ build:+ context: ./backend+ dockerfile: Dockerfile.dev+ env_file: .env+ environment:+ - DB_CONNECTION_URI=postgres://infisical:infisical@db/infisical?sslmode=disable+ command: npm run migration:latest+backend:container_name: infisical-dev-apibuild:context: ./backenddockerfile: Dockerfile.devdepends_on:- - db- - redis+ db:+ condition: service_started+ redis:+ condition: service_started+ db-migration:+ condition: service_completed_successfullyenv_file:- .envports:diff --git a/docker-compose.pg.yml b/docker-compose.pg.ymldeleted file mode 100644index f95810777e..0000000000--- a/docker-compose.pg.yml+++ /dev/null@@ -1,133 +0,0 @@-version: "3.9"--services:- nginx:- container_name: infisical-dev-nginx- image: nginx- restart: always- ports:- - 8080:80- volumes:- - ./nginx/default.dev.conf:/etc/nginx/conf.d/default.conf:ro- depends_on:- - backend- - frontend-- db:- image: postgres:14-alpine- ports:- - "5432:5432"- volumes:- - postgres-data:/var/lib/postgresql/data- environment:- POSTGRES_PASSWORD: infisical- POSTGRES_USER: infisical- POSTGRES_DB: infisical-- redis:- image: redis- container_name: infisical-dev-redis- environment:- - ALLOW_EMPTY_PASSWORD=yes- ports:- - 6379:6379- volumes:- - redis_data:/data-- redis-commander:- container_name: infisical-dev-redis-commander- image: rediscommander/redis-commander- restart: always- depends_on:- - redis- environment:- - REDIS_HOSTS=local:redis:6379- ports:- - "8085:8081"-- db-test:- profiles: ["test"]- image: postgres:14-alpine- ports:- - "5430:5432"- environment:- POSTGRES_PASSWORD: infisical- POSTGRES_USER: infisical- POSTGRES_DB: infisical-test-- db-migration:- container_name: infisical-db-migration- depends_on:- - db- build:- context: ./backend- dockerfile: Dockerfile.dev- env_file: .env- environment:- - DB_CONNECTION_URI=postgres://infisical:infisical@db/infisical?sslmode=disable- command: npm run migration:latest-- backend:- container_name: infisical-dev-api- build:- context: ./backend- dockerfile: Dockerfile.dev- depends_on:- db:- condition: service_started- redis:- condition: service_started- db-migration:- condition: service_completed_successfully- env_file:- - .env- ports:- - 4000:4000- environment:- - NODE_ENV=development- - DB_CONNECTION_URI=postgres://infisical:infisical@db/infisical?sslmode=disable- volumes:- - ./backend/src:/app/src-- frontend:- container_name: infisical-dev-frontend- restart: unless-stopped- depends_on:- - backend- build:- context: ./frontend- dockerfile: Dockerfile.dev- volumes:- - ./frontend/src:/app/src/ # mounted whole src to avoid missing reload on new files- - ./frontend/public:/app/public- env_file: .env- environment:- - NEXT_PUBLIC_ENV=development- - INFISICAL_TELEMETRY_ENABLED=false-- pgadmin:- image: dpage/pgadmin4- restart: always- environment:- PGADMIN_DEFAULT_EMAIL: [email protected]- PGADMIN_DEFAULT_PASSWORD: pass- ports:- - 5050:80- depends_on:- - db-- smtp-server:- container_name: infisical-dev-smtp-server- image: lytrax/mailhog:latest # https://github.com/mailhog/MailHog/issues/353#issuecomment-821137362- restart: always- logging:- driver: "none" # disable saving logs- ports:- - 1025:1025 # SMTP server- - 8025:8025 # Web UI--volumes:- postgres-data:- driver: local- redis_data:- driver: localdiff --git a/docker-compose.yml b/docker-compose.prod.ymlsimilarity index 100%rename from docker-compose.ymlrename to docker-compose.prod.yml