Base + compilacion simple

This commit is contained in:
2026-03-09 17:11:09 +01:00
parent 221abe0d33
commit 97f8c55199
22 changed files with 1006 additions and 32 deletions

View File

@@ -6,8 +6,8 @@ networks:
services:
sf-nfc-api:
container_name: sf-nfc-api
image: sf-nfc-api
container_name: sf-nfc-server
image: sf-nfc-server
build:
context: ./
dockerfile: deployment/local/docker/Dockerfile.local
@@ -45,13 +45,13 @@ services:
env_file:
- .env
ports:
- "${POSTGRES_PORT}:${POSTGRES_PORT}"
- "${POSTGRES_PORT}:5432"
volumes:
- ./sql-data/:/var/lib/postgres/data
- ./deployment/database/init.sql:/docker-entrypoint-initdb.d/init.sql
healthcheck:
test: ["CMD-SHELL", "pg_isready -U $${POSTGRES_USER} -d $${POSTGRES_DB}"]
interval: 5s
retries: 5
start_period: 5s
timeout: 5s
command: -p 5432