Compose UPdate
This commit is contained in:
parent
369d1bc40f
commit
feff8ea021
@ -1,19 +1,18 @@
|
||||
version: '3.8'
|
||||
|
||||
services:
|
||||
app:
|
||||
build: .
|
||||
ports:
|
||||
- "8080:8080"
|
||||
environment:
|
||||
- REDIS_HOST=localhost
|
||||
- REDIS_HOST=redis
|
||||
- REDIS_PORT=6379
|
||||
- REDIS_PASSWORD=*f2iPMa#N42!M
|
||||
extra_hosts:
|
||||
- "host.docker.internal:host-gateway"
|
||||
networks:
|
||||
- app-network
|
||||
|
||||
networks:
|
||||
app-network:
|
||||
driver: bridge
|
||||
redis:
|
||||
image: redis
|
||||
ports:
|
||||
- "6379:6379"
|
||||
command:
|
||||
- --requirepass "*f2iPMa#N42!M"
|
||||
- --appendonly yes
|
||||
volumes:
|
||||
- redis_data:/data
|
||||
|
Loading…
x
Reference in New Issue
Block a user