Skip to content

Instantly share code, notes, and snippets.

@spinningcat
Created February 18, 2025 14:53
Show Gist options
  • Save spinningcat/189366869b102aa09db71f321b512fef to your computer and use it in GitHub Desktop.
Save spinningcat/189366869b102aa09db71f321b512fef to your computer and use it in GitHub Desktop.
services:
minio:
image: minio/minio
environment:
....
....
command: server /data --console-address ":10010"
ports:
- 10010:10010
volumes:
- ~/.docker/sc_proj1/minio:/data
app:
container_name: nodeapp-with-openapi2
build:
context: .
dockerfile: ./docker/sources/minio/Dockerfile
ports:
- "9001:9001"
volumes:
- .:/usr/src/app
- /usr/src/app/node_modules
environment:
- NODE_ENV=development
restart: unless-stopped
volumes:
minio-data:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment