compose.yaml 503 B

1234567891011121314151617181920212223
  1. # Use postgres/example user/password credentials
  2. services:
  3. db:
  4. image: postgres
  5. restart: always
  6. # set shared memory limit when using docker compose
  7. shm_size: 128mb
  8. # or set shared memory limit when deploy via swarm stack
  9. #volumes:
  10. # - type: tmpfs
  11. # target: /dev/shm
  12. # tmpfs:
  13. # size: 134217728 # 128*2^20 bytes = 128Mb
  14. environment:
  15. POSTGRES_PASSWORD: example
  16. adminer:
  17. image: adminer
  18. restart: always
  19. ports:
  20. - 8080:8080