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