Skip to content

Commit

Permalink
fix: ホスト指定にgithub codespacesが対応していなかったので修正
Browse files Browse the repository at this point in the history
  • Loading branch information
calloc134 committed Sep 27, 2023
1 parent 0ab8230 commit e9b7d91
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
// "features": {},
// Use 'forwardPorts' to make a list of ports inside the container available locally.
// This can be used to network with other containers or with the host.
"forwardPorts": [6173, 5173, "minio:9001"],
"forwardPorts": [6173, 5173, 9000, 9001],
// Use 'postCreateCommand' to run commands after the container is created.
"postCreateCommand": "pnpm install && pnpm primig && pnpm priseed",
// Configure tool-specific properties.
Expand Down
4 changes: 3 additions & 1 deletion .devcontainer/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,9 @@ services:
env_file: ${MINIO_ENV}
networks:
- app-network

ports:
- 9000:9000
- 9001:9001
volumes:
postgres-data:
minio-data:
Expand Down

0 comments on commit e9b7d91

Please sign in to comment.