refactor(docker-compose): improve docker compose file

This commit is contained in:
Stavros 2023-12-06 22:03:03 +02:00 committed by GitHub
parent 086fd9667f
commit 3acb605685
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,6 @@
services:
dweebui:
container_name: DweebUI
container_name: dweebui
image: lllllllillllllillll/dweebui:v0.06
environment:
NODE_ENV: production
@ -14,18 +14,14 @@ services:
links:
- cache
volumes:
- dweebui:/app
- caddyfiles:/app/caddyfiles
- ./data/app:/app
- ./data/caddyfiles:/app/caddyfiles
- /var/run/docker.sock:/var/run/docker.sock
cache:
container_name: DweebCache
dweeb-redis:
container_name: dweeb-redis
image: redis:6.2-alpine
restart: always
restart: unless-stopped
command: redis-server --save 20 1 --loglevel warning --requirepass replace_with_password_for_redis
volumes:
- cache:/data
volumes:
dweebui:
cache:
caddyfiles:
- ./data/redis:/data