docker-compose.yml 297 B

1234567891011121314151617181920
  1. version: '3.4'
  2. services:
  3. redis:
  4. image: redis:6.2-alpine
  5. hostname: redis
  6. container_name: redis
  7. command:
  8. - 'redis-server'
  9. - '--requirepass 123456'
  10. ports:
  11. - 36379:6379
  12. restart: always
  13. volumes:
  14. app-db-data:
  15. networks:
  16. traefik-public: # external: true