Fix #50: Remove custom network *completely* from Infisical docker-compose (#52)
Infrastructure / Check and run Ansbile playbooks (push) Successful in 3m14s Details

Reviewed-on: #52
This commit is contained in:
Gleb Koval 2024-03-29 15:57:07 +00:00
parent 719640a98d
commit 9f51ce02d6
2 changed files with 2 additions and 4 deletions

View File

@ -16,6 +16,7 @@
args:
chdir: "{{ user.home }}/{{ app }}"
ignore_errors: true
- name: Copy project
ansible.builtin.copy:
src: "./{{ app }}"
@ -36,6 +37,7 @@
path: "{{ user.home }}/{{ app }}/.env"
regexp: "SMTP_PASSWORD_VALUE"
replace: "{{ lookup('ansible.builtin.env', 'SMTP_PASSWORD') }}"
- name: Docker compose up -d
ansible.builtin.command: docker compose up -d
args:

View File

@ -9,8 +9,6 @@ services:
env_file: .env
command: npm run migration:latest
pull_policy: always
networks:
- infisical
backend:
restart: unless-stopped
@ -45,8 +43,6 @@ services:
env_file: .env
volumes:
- /mnt/nvme/pg_data:/var/lib/postgresql/data
networks:
- infisical
healthcheck:
test: "pg_isready --username=${POSTGRES_USER} && psql --username=${POSTGRES_USER} --list"
interval: 5s