mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-09 02:24:16 +00:00
added dev compose
This commit is contained in:
parent
0b7e51393a
commit
240df12ac2
22
packages/server/compose-dev.yml
Normal file
22
packages/server/compose-dev.yml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
services:
|
||||||
|
api:
|
||||||
|
build: .
|
||||||
|
restart: unless-stopped
|
||||||
|
networks:
|
||||||
|
- internal_network
|
||||||
|
ports:
|
||||||
|
- "9000:9000"
|
||||||
|
env_file:
|
||||||
|
- ./.env
|
||||||
|
|
||||||
|
redis:
|
||||||
|
image: docker.dragonflydb.io/dragonflydb/dragonfly:latest
|
||||||
|
restart: unless-stopped
|
||||||
|
ulimits:
|
||||||
|
memlock: -1
|
||||||
|
networks:
|
||||||
|
- internal_network
|
||||||
|
command: "dragonfly --logtostderr --cache_mode=true --maxmemory=8gb --cluster_mode=emulated --lock_on_hashtags --default_lua_flags=allow-undeclared-keys"
|
||||||
|
|
||||||
|
networks:
|
||||||
|
internal_network:
|
Loading…
x
Reference in New Issue
Block a user