Secrets VM (#21)
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 5m29s
All checks were successful
Infrastructure / Check and run Ansbile playbooks (push) Successful in 5m29s
Setup Infiscal according to https://infisical.com/docs/self-hosting/deployment-options/docker-compose . Contributes to #16. Reviewed-on: #21
This commit is contained in:
33
infra/secrets/infisical/docker-compose.yml
Normal file
33
infra/secrets/infisical/docker-compose.yml
Normal file
@@ -0,0 +1,33 @@
|
||||
version: "3"
|
||||
|
||||
services:
|
||||
backend:
|
||||
restart: unless-stopped
|
||||
depends_on:
|
||||
- mongo
|
||||
image: infisical/infisical:latest
|
||||
env_file: .env
|
||||
ports:
|
||||
- 80:8080
|
||||
environment:
|
||||
- NODE_ENV=production
|
||||
|
||||
redis:
|
||||
image: redis
|
||||
env_file: .env
|
||||
environment:
|
||||
- ALLOW_EMPTY_PASSWORD=yes
|
||||
ports:
|
||||
- 6379:6379
|
||||
volumes:
|
||||
- /mnt/nvme/redis-data:/data
|
||||
|
||||
mongo:
|
||||
image: mongo
|
||||
restart: always
|
||||
env_file: .env
|
||||
environment:
|
||||
- MONGO_INITDB_ROOT_USERNAME=${MONGO_USERNAME}
|
||||
- MONGO_INITDB_ROOT_PASSWORD=${MONGO_PASSWORD}
|
||||
volumes:
|
||||
- /mnt/nvme/mongo-data:/data/db
|
Reference in New Issue
Block a user