We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 47d0ddf commit 570425eCopy full SHA for 570425e
.github/workflows/deploy.yml
@@ -27,6 +27,10 @@ jobs:
27
sudo fuser -k 8080/tcp || true
28
sleep 2
29
30
+ # Create storage directory and set permissions
31
+ mkdir -p /home/ec2-user/golang-project/storage
32
+ chmod 755 /home/ec2-user/golang-project/storage
33
+
34
# Build the application
35
CGO_ENABLED=1 go build -o main cmd/api/main.go
36
config/local.yaml
@@ -1,4 +1,4 @@
1
env: "dev"
2
storage_path: "storage/storage.db"
3
http_server:
4
- address: "localhost:8080"
+ address: "0.0.0.0:8080"
0 commit comments