Skip to content

Commit

Permalink
docs(docker): update documentation docker
Browse files Browse the repository at this point in the history
  • Loading branch information
Caknoooo committed Jan 19, 2025
1 parent ef28313 commit 02cfd1a
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 9 deletions.
10 changes: 5 additions & 5 deletions .env.example
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
APP_NAME=Go.Gin.Template

DB_HOST = <your host>
DB_USER = postgres
DB_PASS = <your password>
DB_NAME = <your database name>
DB_PORT = 5432
DB_HOST=postgres
DB_USER=postgres
DB_PASS=<your password>
DB_NAME=<your database name>
DB_PORT=5432

NGINX_PORT=80
GOLANG_PORT=8888
Expand Down
12 changes: 8 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,13 +15,17 @@ There are 2 ways to do running
```bash
cp.env.example .env
```
2. Build Docker
2. Build Docker
```bash
docker-compose build --no-cache
make up
```
3. Run Docker Compose
3. Run Initial UUID V4 Auto Generate
```bash
docker compose up -d
make init-uuid
```
4. Run Migration and Seeder
```bash
make migrate-seed
```

### Without Docker
Expand Down

0 comments on commit 02cfd1a

Please sign in to comment.