Skip to content

Commit

Permalink
Update docker-compose to use latest official images (microsoft#183)
Browse files Browse the repository at this point in the history
* Update docker-compose.yml
  • Loading branch information
badrishc authored Mar 28, 2024
1 parent 4a0741a commit 9acd43f
Showing 1 changed file with 11 additions and 26 deletions.
37 changes: 11 additions & 26 deletions docker-compose.yml
Original file line number Diff line number Diff line change
@@ -1,29 +1,14 @@
version: '3.4'

services:
garnet:
restart: always
image: garnet
build:
context: .
dockerfile: Dockerfile
image: 'ghcr.io/microsoft/garnet'
ulimits:
memlock: -1
ports:
- "3278:3278"

# garnet.nanoserver-x64:
# restart: always
# image: garnet.nanoserver-x64
# build:
# context: .
# dockerfile: Dockerfile.nanoserver-x64
# ports:
# - "3278:3278"

# garnet.ubuntu-x64:
# restart: always
# image: garnet.ubuntu-x64
# build:
# context: .
# dockerfile: Dockerfile.ubuntu-x64
# ports:
# - "3278:3278"
- "6379:6379"
# To avoid docker NAT, consider `host` mode.
# https://docs.docker.com/compose/compose-file/compose-file-v3/#network_mode
# network_mode: "host"
volumes:
- garnetdata:/data
volumes:
garnetdata:

0 comments on commit 9acd43f

Please sign in to comment.