Thiago R.
Explore posts from serversKPCKevin Powell - Community
•Created by Thiago R. on 9/27/2024 in #os-and-tools
Can't set absolute paths to Vite Project
Hello
I was trying to make sure I could use either typescript
namespace
s and use absolute file paths for import
statements, as this how-to article suggests.
my tsconfig.json
file is as follows:
Also, my vite.config.ts
file is as follows:
However, if I try to use the absolute paths like the following:
For instance, the project is a react/tsx game catalogue. The mentioned files are already committed there.
The editor doesn't recognize it. For instance, I'm using Jetbrains Webstorm.
Has anyone here ever have been through this situation?2 replies
Local machine refuses to connect to an ASP.NET Core Web API container
Hello
I need to find out how to access my Docker container via the host machine. My connection is refused, no matter the tool I use (browser,
curl
, wget
, javascript's fetch
). I've been looking for a solution since yesterday, but no success at all.
I've been trying to instantiate two containers within a same docker network, which is basically an ASP.NET Core Web API and a PostgreSQL server.
I have 0 Docker knowledge at all. I was using Rider's feature for instantiating containers and it worked properly. However, I decided to use a docker-compose.yml
file instead, because I was editing the same environment variables in both containers (such as PostgreSQL credentials and a default user seed data). I've deleted the IDE configuration before I actually start to build the docker-compose.yml
file as follows:
Both containers run properly, I just can't connect to the api container externally.15 replies