fauzymadani/Go-Notification-Service
Folders and files
| Name | Name | Last commit date | ||
|---|---|---|---|---|
Repository files navigation
# Build and run with podman-compose
podman-compose up -d
# Or build and run individually
podman build -t notification-service .
podman run -p 50051:50051 --env-file .env notification-service
# Run with podman-compose or run the container directly
podman-compose up -d
podman run -d \
--name notification-service \
--network host \
-e DB_HOST=localhost \
-e DB_PORT=5432 \
-e DB_USER=postgres \
-e DB_PASSWORD= \
-e DB_NAME=elearning \
-e DB_SSLMODE=disable \
-e DB_TIMEZONE=Asia/Jakarta \
-e GRPC_PORT=50051 \
localhost/notification-service:latest