Clean up docker environment

This commit is contained in:
2022-10-19 16:45:18 +01:00
parent ed5fccfc66
commit 8c06ec44cb
6 changed files with 70 additions and 89 deletions

View File

@@ -36,8 +36,11 @@ services:
- "${THRESHOLD_API_PORT}:${THRESHOLD_API_PORT}"
env_file:
- ../stack.env
# for development
extra_hosts:
- "host.docker.internal:host-gateway"
volumes_from:
- tmp
- tmp
depends_on:
tmp:
condition: service_started
@@ -46,12 +49,14 @@ services:
tmp:
image: busybox
container_name: tmp_monolith
command: chmod -R 777 /var/run/redis
volumes:
- /var/run/redis
redis:
image: redis
container_name: redis_monolith
command: redis-server /etc/redis.conf
ulimits:
nproc: 65535