This repository was archived by the owner on Apr 28, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 73
This repository was archived by the owner on Apr 28, 2024. It is now read-only.
Permission issue while running binary on server #144
Open
@shivamsouravjha
Description
- Replaced
var build = config.BUILD_SERVER
toBUILD_SERVER
- On my main.go file level created a docker-compose fiel with contents
version: '3.8'
services:
slashbase-db:
image: postgres
container_name: slashbase-db
restart: always
ports:
- '5432:5432'
volumes:
- ./data/postgres/data:/var/lib/postgresql/data
environment:
POSTGRES_DB: petclinic
POSTGRES_USER: petclinic
POSTGRES_PASSWORD: petclinic
healthcheck:
test: pg_isready -U petclinic -d petclinic
interval: 5s
timeout: 5s
retries: 3
- In
development.server.env
passed the values
APP_DB_HOST=localhost
APP_DB_PORT=5432
APP_DB_USER=petclinic
APP_DB_PASS=petclinic
APP_DB_NAME=petclinic
- always I get the permission with data.
Metadata
Metadata
Assignees
Labels
No labels