Base + compilacion simple
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user