Skip to content

Commit 8e370f5

Browse files
authored
Merge pull request #32 from GyeongHoKim/main
Modify docker-compose to do not map volume
2 parents 731b64b + e0815cf commit 8e370f5

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

.gitignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
# Binaries for programs and plugins
2+
bin/
23
*.exe
34
*.exe~
45
*.dll

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -96,9 +96,11 @@ cd golang-rest-api-template
9696
3. Build and run the Docker containers
9797

9898
```bash
99-
make setup && make build && make up
99+
make up
100100
```
101101

102+
Please refer to the [Makefile](./Makefile) if you need to build in the local environment.
103+
102104
### Environment Variables
103105

104106
You can set the environment variables in the `.env` file. Here are some important variables:

bin/server

-34.1 MB
Binary file not shown.

docker-compose.yml

-2
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,6 @@ services:
66
dockerfile: Dockerfile
77
ports:
88
- 8001:8001
9-
volumes:
10-
- .:/app
119
depends_on:
1210
- db
1311
- mongo

0 commit comments

Comments
 (0)