Skip to content

Commit

Permalink
docker compose prod : redis volume
Browse files Browse the repository at this point in the history
  • Loading branch information
Kocal committed Mar 10, 2024
1 parent 65138a0 commit 66213db
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions compose.prod.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
version: '3.6'

volumes:
redis-data:

services:
redis:
extends:
file: compose.yaml
service: redis
volumes:
- redis-data:/data

php:
build:
context: .
Expand Down

0 comments on commit 66213db

Please sign in to comment.