docker-compose.yml 262 B

1234567891011121314
  1. version: '3.1'
  2. services:
  3. db:
  4. image: postgres:latest
  5. restart: always
  6. shm_size: '8gb'
  7. environment:
  8. POSTGRES_PASSWORD: postgres
  9. POSTGRES_USER: postgres
  10. ports:
  11. - 5432:5432
  12. volumes:
  13. - ./data:/var/lib/postgresql/data