postgres keep restarting after docker-compose up -d
this is the log results of docker logs redash_postgres_1
this is the docker-compose for postgres
postgres:
image: postgres:9.5.6-alpine
env_file: /opt/redash/env
volumes:
- /opt/redash/postgres-data:/var/lib/postgresql/data
restart: always
logging:
driver: “json-file”
options:
max-size: “10m”
please do help on this matter thank you.