Browse Source

add persistance to Postresql container

closed-social-v3
Valentin_NC 7 years ago
parent
commit
4512fde181
1 changed files with 2 additions and 0 deletions
  1. +2
    -0
      docker-compose.yml

+ 2
- 0
docker-compose.yml View File

@ -3,6 +3,8 @@ services:
db:
restart: always
image: postgres:alpine
volumes:
- ./postgres-data:/var/lib/postgresql/data
redis:
restart: always
image: redis:alpine

Loading…
Cancel
Save